|
-
May 15th, 2009, 09:02 AM
#1
Complete Novice doing something stupid
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|