Originally Posted by
Furious5k
However, I still get errors on statements such as "cout" and "endl". C stuff seems fine, such as "printf".
I have no idea what is the level of your C++ knowledge, but just to be sure that you are trying to compile something that is supposed to compile, try compiling:
Code:
#include<iostream>
#include<string>
using namespace std;
int main()
{
string s;
cout << "Please enter your first name followed by a newline\n";
cin >> s;
cout << "Hello, " << s << '\n';
return 0; // this return statement isn't necessary
}