I have downloaded and installed the Borland C++ Command Line Compiler 5.5.1, I have installed it and ran it exactly as instructed in the FAQ. However, i can't get it to work properly. I re-did it a few times and sent a few emails, but nothing seems to work. I was wondering if there was anyone who could help me.
If I try and compile a program called "Cpp.cpp" I get this error message:
Borland C++ 5.5.1 Win32 Copyright (c) 1993, 2000 Borland
Error E2209 Cpp.cpp 1: Unable to open include file 'iostream'
Error E2265 Cpp.cpp 2: No file name ending
Error E2209 Cpp.cpp 3: Unable to open include file 'cstdlib'
Error E2282 Cpp.cpp 4: Namespace name expected
Error E2268 Cpp.cpp 5: Call to undefined function 'srand' in function main()
Error E2268 Cpp.cpp 6: call to undefined function 'time' in function main()
Error E2451 Cpp.cpp 7: Undefined symbol 'cout' in function main()
Error E2451 Cpp.cpp 8: Undefined symbol 'endl' in function main()
Error E2268 Cpp.cpp 9: Call to undefined function 'rand' in function main()
Warning W8013 Cpp.cpp 21: Possible use of 'b' before definition in function main()
Warning W8013 Cpp.cpp 23: Possible use of 'score' before definintion in function main()
Error E2451 Cpp.cpp 24:Undefined symbol 'cin' in function main()
***10 errors in Compile***
I think there may be something wrong with the config files. But I'm not sure.
Can someone please help me?!!!