Hi all, I know basic C++ and am trying to relearn it.
I have got Visual Studio 2008.
I am trying to compile the following:
#include <iostream>
main ()
{
cout << "hi" << endl;
return 0;
}
However it tellsss me cout and endl are undeclared indetifiers.
I tried making iostream into iostream.h but this also failed to work, saying iostream.h could not be found. I remember having this problem previously and having to make additional libraries available in the project properties but can't remember what to do.
You forgot a usingnamespace std; somewhere, or two std::s in one line.
EDIT2: And I forgot to mention you forgot an int before your main.
-Albatross
EDIT: If there are 15 spots per true dalmatian and I could exchange one spot on a dalmatian without enough spots for one post, I'd have a cute Disney movie. Provided I had enough white dalmatians. And fully-grown dalmatians usually have more spots than that.