help with advice on how to link with Turbo C (IDE)

F

frzeeeze

Hello,
I have got three .C files in my program. And I am including a header
file myheader.h which has a few common functions. However the code
implementation of the header file is not available with me. I just
have the .LIB ( myheader.lib) file. I dont have access to the source
code for the include file. Can any one educate me on how to make my
final executable with Turbo C and these three .C files and the library
file. At present when I compile each .C file separately, it gives me
error coz it cannot get to the implementation of the functions in the
header file.
All help appreciated.
Rgds,
Lin.
 
J

Joe Wright

frzeeeze said:
Hello,
I have got three .C files in my program. And I am including a header
file myheader.h which has a few common functions. However the code
implementation of the header file is not available with me. I just
have the .LIB ( myheader.lib) file. I dont have access to the source
code for the include file. Can any one educate me on how to make my
final executable with Turbo C and these three .C files and the library
file. At present when I compile each .C file separately, it gives me
error coz it cannot get to the implementation of the functions in the
header file.
All help appreciated.
Rgds,
Lin.

Hi Lin.

First, you are in the wrong place. We are intent on C language
issues here, not implementation issues. Turbo C is an implementation
by Borland. There are tons of Borland newsgroups. Look 'em up.

Second, the normal filename extension is .c for a C translation
unit. The upper case .C usually means C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,404
Latest member
PerryRutt

Latest Threads

Top