Step: 1Installing Borland 5 compiler 

(Still runs and does work todate)

Step: 2 Setting environment

Step: 4 add this config file, "bcc32.cfg" in 

-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"
-P
-v-
-w
-DWINVER=0X0400
-D_WIN32_WINNT=0X0400

Step: 5 create this config , "ilink32.cfg" file in 

-v-
-x
-L"C:\Borland\Bcc55\lib;C:\Borland\Bcc55\lib\PSDK"

Step: 6 Now time to test the compiler in windows environment

#include <iostream>
using namespace std;
int main()
{
std::cout<<"welcome"<<endl;
return 0;
}

And wala.