Getting started with Borland C++
- Click here to download the Borland C++ compiler.
- Add to your local path, the bin folder of the Borland Compiler (e.g. C:\Borland\BCC55\Bin)
-
In the bin folder:
-
Create a new file "bcc32.cfg" and add the following content:
-I"C:\Borland\Bcc55\include"
-L"C:\Borland\Bcc55\lib"
-
Create a new file "ilink32.cfg" and add the following content:
-L"C:\Borland\Bcc55\lib"
-
Test your environment with the popular Hello World program:
#include<iostream>
using namespace std;
int main (int argc, char **argv)
{
cout << "Hello World!! " << endl;
return 0;
}
-
Compile and run as:
> bcc32 HelloWorld.cpp
> HelloWorld.exe