Results 1 to 1 of 1
Thread: Compilation problem
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2008
i couldn compile a simple cpp program.
here is de code and de error..can anyone clarify this..
int main (int argc, char* argv)
cout << "Enter value for i:";
cin >> i;
cout << "/nZeroooo" ;
cout << "iiii:" << i ;
a.cpp: In function ‘int main(int, char**)’:
a.cpp:6: error: ‘cout’ was not declared in this scope
a.cpp:7: error: ‘cin’ was not declared in this scope
a.cpp:11: error: ‘exit’ was not declared in this scope