Latest News

Compile C Programs

Success for the visitors Internet Marketing Support |
How to install Borland C++ compiler

1. Download Borland C++ compiler 5.5 (for Windows platform) from the next link.

http://www.codegear.com/downloads/free/cppbuilder

2. After you lot download , run freecommandlinetools.exe. The default installation path would be

C:\Borland\BCC55
How to configure Borland C++ compiler

1. After you lot install Borland C++ compier , practise 2 novel Text Documents

2. Open the get-go New Text Document.txt file as well as add together the next 2 lines into it

-I”c:\Borland\Bcc55\include”
-L”c:\Borland\Bcc55\lib”

Save changes as well as unopen the file. Now rename the file from New Text Document.txt to bcc32.cfg.

3. Open the 2nd New Text Document (2).txt file as well as add together the next business into it
-L”c:\Borland\Bcc55\lib”
Save changes as well as unopen the file. Now rename the file from New Text Document (2).txt to ilink32.cfg.

4. Now re-create the 2 files bcc32.cfg as well as ilink32.cfg , navigate to C:\Borland\BCC55\Bin as well as glue them.

How to compile the C rootage code (.C files)

1. You quest to house the .C (example.c) file to endure compiled inward the next location

C:\Borland\BCC55\Bin

2. Now goto ascendency prompt (Start->Run->type cmd->Enter)

3. Make the next path every bit the acquaint working directory (use CD command)
C:\Borland\BCC55\Bin

4. To compile the file (example.c) operate the next command
bcc32 example.c

5. Now if at that spot exists no mistake inward the rootage code you’ll larn an executable file (example.exe) inward the same place (C:\Borland\BCC55\Bin).

6. Now you lot bring successfully compiled the rootage code into an executable file(.exe file).

NOTE: The to a higher house tutorial assumes that you’ve installed the compiler onto the C: campaign (by default).

0 Response to "Compile C Programs"