You are here:

C/Make a .COM file

Advertisement


Question
Sir,
How can I complie my .c file to a .com file using c compiler? Pleeez help.

Answer
First of all which is the platform you are using?
And what compiler you are using?

Looking at your question, I assume you are on Windows.
Then you must be using Turbo-C or VC++, which come with a IDE.
You can load your file in this and then click on the button build.

Why do you want .COM and why not .EXE?
Most of them produce .EXE.
I don't see any difference between the two from user perspective.

-Narendra

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.