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


1. You need to place the .C (example.c) file to be compiled in the following location
C:\Borland\BCC55\Bin

Learn How Install It Here 

Configure It Here 

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

3. Make the following path as the present working directory (use CD command)
C:\Borland\BCC55\Bin

4. To compile the file (example.c) use the following command
Command to Compile C Program
bcc32 example.c

5. Now if there exists no error in the source code you’ll get an executable file (example.exe) in the same location (C:\Borland\BCC55\Bin).

6. Now you have successfully compiled the source code into an executable file(.exe file).

NOTE: The above tutorial assumes that you’ve installed the compiler onto the C: drive (by default).

2 Responses to “How to compile the C source code (.C files)”

Anonymous said...
January 10, 2011 at 1:21 AM

Superb blog post, I have book marked this internet site so ideally I’ll see much more on this subject in the foreseeable future!


ADMIN said...
January 11, 2011 at 4:17 AM

thnx boss...

Keep exploring. :)


Post a Comment