when i enter std::cout<< doesnt work but cout<< works this may be weird ques but which is better to use the book im reading has st:: infront of everything is this new or old
when i enter std::cout<< doesnt work but cout<< works this may be weird ques but which is better to use the book im reading has st:: infront of everything is this new or old
You really have to post more code than that.
At first guess i'd say it was a problem with the header your using. You probbly have made the mistake of putting:
#include <iostream.h>
That specifies the old C header file. In order to use the std namespace you have to include the C++ equivilant with:
#include <iostream>