Help adding numbers in C++

I downloaded eclipse for C++ and when I typed all the lines same as of TC++, it is not accepting them.
It says like cout,cin is not supported.
Is it different in eclipse

I changed the compatibility to Win95&98.
Still same error persists.

the structure of the program is:

<preprocessors>
<definations>
<main function>

write it as:
Code:
#include<iostream>
using namespace std;

int main()
{
     cout << "blah blah blah...";
     return 0;
}

remember, its "iostream", not "iostream.h".
 
OP
©mß

©mß

Journeyman
Now bye-bye to TC++.
Now we'll learn Python.
CBSE ordered to teach Python instead of C++ for it's more demand in market.
 
Top Bottom