I am new to C++ and am tryind to compile a simple program under Linux. The code is in the form of:
#include <stdio.h>
int main()
{
cout << "Hell World";
return 0;
}
When trying to compile, I get the error messages as follows:
test.cpp: In function 'int main()':
test.cpp: 'cout' undeclared (first use this function)
text.cpp: (Each undeclared identifier is reported only once for each function it appears in.)
What have I done incorrectly ?
Pete