I got a question about STL that bothers me a lot.
I cannot even do this simple one,
cout << "Hello World" << endl ;
It gave me this:
E:\temp\1.cpp(5) : error C2065: 'cout' : undeclared identifier
E:\temp\1.cpp(5) : error C2297: '<<' : illegal, right operand has type 'char '
E:\temp\1.cpp(5) : error C2065: 'endl' : undeclared identifier
Error executing cl.exe.
1.obj - 3 error(s), 0 warning(s)
I know it's problem with STL, but don't know what on earth is wrong. I have the library files for STL, such as LIBCP.LIB, LIBCPMT.LIB, MSVCPRT.LIB, LIBCPD.LIB, etc, in the directory of 'C:\Program Files\Microsoft Visual Studio\VC98\LIB' or 'C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB'.
Do I need to set anything up in VC++. Btw, I'm using MSVC++ 6.0.
Thanks a lot.