Your choice of compilers
 
At the time of writing this tutorials, Borland officered 5.5 compiler, or you may download their builder for 30 days. It would be worth of trying and learning. With command line tools you will miss the essence of a debugger. 
Once you run the above executable, installer will add a folder and files as shown in the image below.

You need to create these two configuration files

Installing and running the Command Line Tools
-----------------------------------------------

  • 1. Run freecommandlinetools.exe; choose the drive and folder into which you want to install the free C++Builder 5 command line tool development system.
  • 2. From the bin directory of your installation:
    • a. Add "c:\Borland\Bcc55" to the existing path

    • b. Create a bcc32.cfg file which will set the compiler options for the Include and Lib paths (-I and -L switches to compiler) by adding these lines:
      -I"c:\Borland\Bcc55\include"
      -L"c:\Borland\Bcc55\lib"
    • c. Create an ilink32.cfg file which will set the linker option for the Lib path by adding this line:
      -L"c:\Borland\Bcc55\lib"

 

You would note the following files added in that folder

 

Now you have a file "test.cpp", to test your installation; now call it from a command line as shown below.

 

How far we can go with this; all the way at your cost of time. The IDE offers you more
installation of debugger



#include <iostream>
//bcc32 -tWM test.cpp
int main()
{
std::cout << "Welcome to C++!\n";

return 0; // indicate that program ended successfully
}