Hi,
I'm trying to learn VC++ and found an example excersice but it doesn't seem to work. Here is the code:
I get the following error when trying to compile the above .cpp file:Code:#include <iostream.h> int main(); { int x=5; int y=7; cout "\n"; cout << x + y << " " << x * y; cout "\n"; return 0; }
"error C2447: missing function header (old-style formal list?)"
Any ideas what this is and how to fix it?
Any help would be appreciated..
Dan




Reply With Quote