Please don\'t confuse with the title as it was already asked by someone but for a different context
The below code in Visual C++ Compiler (VS2008) d
Have you included all of the following headers?
My guess is you forgot .
On a side note: That should be std::cout and std::endl.
std::cout
std::endl