How to create static library file in 'Turbo C'

Status
Not open for further replies.

gprashanth911

Newbie level 5
Joined
Jul 18, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,327
static library creation in turbo c compiler

can any one tell me how to create our ow static library in turbo c.

thanks
gp
 

how to create lib file in turbo

If you want to create a header file, you just write the required header file at the turbo c (or even at note pad), then you save it as *.h file .When you want to use it at your program, you just add :
#include "E:/myLibrary.h" //where E:/ is where you saved your library and myLibrary.h is your library's name .

Note that you should use quotations (" ") instead of < > and must specify the complete path for the library .
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…