How to compile the C source code (.C files)
Do you like this story?
1. You need to place the .C (example.c) file to be compiled in the following location
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)
4. To compile the file (example.c) use the following command
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).
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
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).
Subscribe to:
Post Comments (Atom)
2 Responses to “How to compile the C source code (.C files)”
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!
January 11, 2011 at 4:17 AM
thnx boss...
Keep exploring. :)
Post a Comment