You need to place the .C (example.c) file to be compiled in the following location:
C:\Borland\BCC55\Bin
Now go to the command prompt (Start->Run->type cmd->Enter)
Make the following path as the present working directory (use the CD command):
C:\Borland\BCC55\Bin
To compile the file (example.c), use the following command:
bcc32 example.c
Now if there exists no error in the source code, you’ll get a compiled executable module (example.exe) in the same location (C:\Borland\BCC55\Bin).
Now you have successfully compiled the source code into an executable file (.exe file).
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment