You are here:

C/How to create exe with multiple files (a project for eg)

Advertisement


Question
How to create a project in turbo c and compile for an exe ?

please provide a link to downliad the compiler too, if present.

Thanks.

Answer
Thats very simple !

Just follow the steps ( I assume that you are using Turbo C++ 3.0) compiler

1.Write separate module of program say ( A number of functions  that can able to carry io operations on screen can be grouped into a header file "inout.h" , )

2. Just compile the "inout.h" you will gwt the .obj for the same file

3. similarly do the same for any number of files.

4. Write a main module with .prj extension say "sample.prj" and save the file.
  
5. In project menu select add item and add all your obj files related to your project

6. In Compile option use "build all " to compile and link all files in your project

7. Then run the project using usual Run command from "run menu"

  Thank you!  

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Prince M. Premnath

Expertise


I'm sure that I can solve any doubts in Turbo C ,Graphics Programing ,Mouse, Hardware Programming ,File System ,Interrupts, BIOS handling , TSR Programming , General Concepts in C Language, handling inline Assembly statements

Experience

Research over 6+ Years

Organizations
CG-VAK Softwares and Exports Limited

Education/Credentials
Masters in Computer Applications

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