Latest News

Compile C Programs

Welcome To 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 starting fourth dimension 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 minute New Text Document (2).txt file as well as add together the next trouble 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 root code (.C files)

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

C:\Borland\BCC55\Bin

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

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

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

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

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

NOTE: The higher upward tutorial assumes that you’ve installed the compiler onto the C: stimulate (by default).

0 Response to "Compile C Programs"