|
From: Ioannis V. <no...@ya...> - 2001-07-21 14:34:25
|
You have " " after x+y in the cout phrase. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf Of Jarred > Sent: Saturday, July 21, 2001 4:19 PM > To: dev...@li... > Subject: [Dev-C++] why wont this compile >=20 >=20 > I'm just trying to learn this stuff and for some reason this=20 > code won't compile. It is ment to be c++. I wood appreciate=20 > any answers or help. Below is the complete code. >=20 > #include <iostream.h> > #include <stdlib.h> >=20 > int main() > { > int x =3D 5; > int y =3D 7; > cout "\n"; > cout << x + y " " << x*y; > cout "\n"; >=20 >=20 > system("PAUSE"); > return 0; > } >=20 >=20 > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >=20 >=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |