I want to know how to create our own library file and header file in c.
i use turbo C and the os is windows xp.
i could find the command equivalent of 'ar' command in Linux (archieve command) same in Windowz xp
thanks
How to create our own library file and header file from c (OS is windows xp)?
hi,
first you can create header file by ( .h ) extension.for example triq.h in this file you can write what (functions) you wants in the header file.
second you can store this ( .h ) file extension in to header files location.
then crate c program and include this header file.thats all..bye
Reply:create files
bob.h
bob.c
In bob.c put:
#include "pathto\bob.h"
your c code here
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment