rotating_image rotating_image - 1 year ago 127
C++ Question

How to use slist from STL?

I am new to STL. I found out that

(the singly linked link list) is not a part of standard C++ standard. So how to use it in my programs?

I downloaded the slist.h and pasted in

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include

but it is asking for
and other header files (
) which I could not find in the include folder of VS9 or windows SDK. How to go about it? please help.

Answer Source

The container is called std::forward_list. It's part of the new standard library.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download