Thread: Setting up Borlands C++ Compiler

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    8

    Setting up Borlands C++ Compiler

    Hello, I have just started learning C++! Recently I was reading about writing source files, compiling, linking and executing.

    So, I've managed to create a sucessful .cpp source file.
    And I've managed to download Borlands C++ Compiler

    -and thats where my success stopped

    I'm not exactly sure how to setup cmd.exe for the compiler
    and not sure where linking libraries fits in.

    Can someone explain to me how to do this?

    Thank you!

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    Step 1: Get a good compiler. Google for Microsoft Visual C++ or look into gcc. Boreland is not the way to go.
    Step 2: Download a good compiler
    Step 3: Install the compiler
    Step 4: Come back if you need help.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    In other words:
    Google for any of the following:
    Visual studio 2010 express - free version of visual studio, very good IDE and compiler
    Code::Blocks - open source, ships with MingW originally (windows port of gcc) but can be used with the same compiler that visual studio comes with.
    C++ IDE - for more information about available IDEs

  4. #4
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    I'm not exactly sure how to setup cmd.exe for the compiler
    and not sure where linking libraries fits in.
    Get one of the other packages as suggested above, you do not need to worry about 'setting up' cmd.exe?? the borland i used to use had some kind of basic config file that you could run as an installer, i never had to mess about with any cmd.exe setup.. But in any case, totally forget about the Borland, get one of the other, nice shiny, new , free IDEs!
    The library linking you dont need to be concerned about right now either if you are a beginner, if you are starting to learn by (as you should) writing console based programs then the default c++ / c projects will link the required libraries on your operating system for you.
    By the time you are ready to use other libraries then i think you will have a good grasp of what you need to do
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 12
    Last Post: 05-23-2011, 08:14 AM
  2. Setting my compiler..(for a rookie)??
    By Greek_89 in forum C++ Programming
    Replies: 2
    Last Post: 12-09-2009, 01:00 PM
  3. some help setting up borland compiler please
    By shinra12 in forum C++ Programming
    Replies: 5
    Last Post: 09-12-2005, 06:41 AM
  4. compiler setting c++ so .exe runs at low priority
    By yvesdefrenne in forum C++ Programming
    Replies: 2
    Last Post: 05-31-2005, 02:58 PM
  5. C++ TURBO BORLANDS 4.5 for windows
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 12-05-2001, 09:38 PM