I've just finished installing the Borland C++ 5.5.1 version. Now, the problem is that, my hello world program (the very first thing the I tried for this version) doesnt work.
I just wonder what part I screwed up.
here it is:
1 2 3 4 5 6 7 8 9 10
|
// bcc1.cpp
#include<iostream>
#include<conio>
int main()
{
cout<<"Hello World from BCC 5.5"<<endl;
getch();
}
|
When I tried to run it, it gives me these errors:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
bccl.cpp:
Error E2209 bccl.cpp 2: Unable to open include file 'iostream'
Error E2282 bccl.cpp 3: Namespace name expected
Error E2451 bccl.cpp 7: Undefined symbol 'cout' in function main()
Error E2451 bccl.cpp 7: Undefined symbol 'endl' in function main()
*** 4 errors in Compile ***
What am I doing wrong? Could anyone shed some light?
Everything about this seems too much for me.