Finally, create the extra.c file in the same manner.Now create the first.c file the same way.Save the file when you are finished entering it. What we are mainly concerned with here is that you can get the program to compile and run successfully. Open a new file in the usual way and type the following lines into it:ĭon't worry about the meaning of all of the statements for now.
Since the compiler will need to know how t o call these functions, we will place their prototypes in the header file extra.c. These functions will be defined in extra.c. first.c is going to contain the main program that will call three functions.
A project consists of several files, compiled separately, but linked together to form a single application. The process is similar, though not exactly the same, for Version 5.0.
Build program borland c++ how to#
This document describes how to create a Turbo C project using Borland Version 4.5.