Quote:
It is giving an error that the functions used are not found...
should i give any header file or so in the program to use my own l
library ???
|
Having a header file probably wouldn't prevent the error you mention, but if you call functions in you source from another file (like another .o file or a lib) you (almost allways) need a function prototype which are usually in a header. You can provide a prototype for the external function in the source itself, but then it wouldn't make sense to have a library.
So, in short: yes, you need a header file. But I don't think that's solves the problem you describe.