Hi I have a file
Hello.cpp (I said i was a novice).
#include <iostream.h>
int main()
{
int x = 5;
int y = 7;
cout "\n";
cout << x + y << " " << x * y;
cout "\n";
return 0;
}
I try and run and compile it by running
bcc32 -If:\Borland\bcc55\include -Lf:\Borland\bcc55\Lib Hello.cpp
But am getting the following error
Hello.cpp:
Error E2379 Hello.cpp 6: Statement missing ; in function main()
Error E2379 Hello.cpp 8: Statement missing ; in function main() *** 2 errors in Compile
I apologise for the post but I really waqnt to get on and can't even get past this simple problem.
Bookmarks