PDA

View Full Version : Borland C++ Compiler Trouble


MayDay
08-07-2003, 10:46 AM
I'm trying to learn C++ as a first language, buut I'm having trouble compiling my *.cpp source code files into executables, I'm running Borland C/C++ Compiler version 5.5.

I'm not 100% sure exactly whats going wrong, I'm using the syntax:
C:\borland\bcc55\bin\bcc32 Myprog.cpp
this calls up several errors like "Cannot include file iostream.h"

I visited the Borland website to lookup the help files, FAQ's and full documentation, they suggest using the syntax:
C:\Borland\bcc55\bin\bcc32 -If:\Borland\bcc55\include -Lf:\Borland\bcc55\Lib Myprog.cpp
but this still doesn't work (It brings up the same errors), I've also tried copying the files it asks for into the same directory (Mistake, got about twety six errors as opposed to just three).

Has anyone else come accross this problem ith the Borland compiler?
How can I get it to work?

PLEEEEEEEEEEAAAAAAAASSSSSEEEE HELP ME!
Would be most grateful if anyone can help, thanks in advance.

Ally

pave_spectre
08-07-2003, 10:50 AM
Is perhaps the iostream.h file missing?
should be in C:\Borland\BCC55\Include

MayDay
08-07-2003, 11:23 AM
Uhh, for future reference, you can just call me Timmy. THanks pave_spectre, that did it.

That's such an obvious mistake, still, could've been worse.

Thank you!

pave_spectre
08-07-2003, 11:25 AM
Well what do you know I actually did something helpful!:eek:

tweeky
08-07-2003, 06:00 PM
I have noticed in your post that you are learning this as a first language, I would not recommend it as a first language but if you want to start there it is your choice. I would also recommend that you buy a proper compiler like Borland C++ builder 6. The compiler you have will work just fine until you get on to the harder stuff.

You can get some free code to compile from the osborne website (http://www.osborne.com).

I also have a good tutorial site for you it is FunctionX.com (http://www.functionx.com).
The only problem with that site is it has been going down a lot lately.

Some books you could get are The complete reference, C++ from the ground up, C++ a beginner's guide, all these books are by Herbert Schildt.

I will post any more books or tutorial sites in the C++ books and tutorials sites post in the programming sif forum. If you have any good sites or books post a new thread there.

C++ Books and Tutorial Sites (http://http://www.pcguide.com/vb/showthread.php?s=&threadid=24097)

pave_spectre
08-08-2003, 12:56 AM
You might also want to look at http://www.ibiblio.org/obp/thinkCS/

it has freely downloadable books in various formats including pdf for C++, java and Python

milder
08-15-2003, 06:05 AM
wacha ......!!!!!


wrong version.........ha.ha.ha:p :p :p :p :p