If you haven't included any headers that define the namespace, then the compiler won't be able to recognise the name.That should work. What compiler are you on?Code:#include <iostream> using namespace std; int main() { cout << "Hello!" << endl; }
|
Results 1 to 10 of 10
Thread: A buncha newbie questionsThreaded View
|
Click Here to Expand Forum to Full Width |