Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Running C programs on Borland's C++ Builder 4

Running C programs on Borland's C++ Builder 4

Running C programs on Borland's C++ Builder 4

I recently purchased Borland/Inprise C++ Builder 4. I am a beginning programmer, barely got my feet wet.
When I enter the programs from the book I get error messages. I consider myself quite capable of learning this. However, I'm a little frustrated.
Do I need to switch to a purely C compiler such as Turbo C ( if I can find it...) ?

RE: Running C programs on Borland's C++ Builder 4

Hi Roman,

I think the answer is "it depends" - which probably isn't the answer you wanted.

I remember going through this kind of process when starting out and it *is* pretty frustrating. The solution is usually one of the following:

1) You didn't type the prog in *quite* right. I know - I know, you checked it already but it might be an idea to give another look.

2) The example prog is not for the exact version of he compiler that you have. Strictly speaking C programs should run fine in a C++ compiler but you do occaisionally come across some differences - especially in the PC world. Have a look at the #include thingies and read up on the different meanings of <> and "" when you use them there. They have to do with where the compiler will look for those .h files and some compilers keep them in funny places.

Have another go - it's all part of the fun - and if you're still having trouble try posting a small prog here that demonstrated your problem.



RE: Running C programs on Borland's C++ Builder 4

Thanks Mike Lacey.
I figured it out shortly after posting the S.O.S.
I was missing some headers then included them and it worked.
It seems like semi-smooth sailing from here on. I may shortly join the elite few Super Programmers like you.

Thanks Again,


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close