I am new to STL. I found out that slist (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 algobase.h and other header files (alloc.h, stl_slist.h) which I could not find in the include folder of VS9 or windows SDK. How to go about it? please help.
The container is called
std::forward_list. It’s part of the new standard library.