hey im totally new to all this programing stuff but im trying to learn. Im working from a SAMS book on C++ and for one exercise i have to type in the following code:
I get these error messages using Microsoft Visual C++ 2005Code:#include <iostream> int main() { int x = 5; int y = 7; std::cout << endl; std::cout << x + y << " " << x * y; std::cout << end; return 0; }
any help would be appreciated as i am pretty sure i have typed it all in right! thanks.Code:error C2065: 'endl' : undeclared identifier error C2065: 'end' : undeclared identifier



LinkBack URL
About LinkBacks


