공학박사 권경안

Borland C++ Compiler (Windows) 환경설정 본문

Programming

Borland C++ Compiler (Windows) 환경설정

Karl Kwon 2012. 3. 13. 12:32

Getting Started...

  • Download the Free 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".
      Add the following content.
      -I"C:\Borland\Bcc55\include"
      -L"C:\Borland\Bcc55\lib"
    • Create a new file "ilink32.cfg"
      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 ()
    {
         cout << "Hello C++ << endl;

         return
     0; 
    }

  • Compile and run as:
    > bcc32 HelloWorld.cpp
    > HelloWorld.exe