--- Srikanth M R <[EMAIL PROTECTED]> wrote: > I do have a lot of reference books. But I doubt if > any > contains information about this. > --- Ray Devore <[EMAIL PROTECTED]> wrote: > > > --- Srikanth M R <[EMAIL PROTECTED]> wrote: > > > Sorry, I didn't know that libraries and header > > files > > > were different. Its creation of header files > that > > > I'm > > > looking for > > > > > > --- Ray Devore <[EMAIL PROTECTED]> wrote: > > > > > > > --- Srikanth M R <[EMAIL PROTECTED]> wrote: > > > > > Hello everyone. > > > > > > > > > > My question is pretty straightforward. How > do > > I > > > > > create a library(i.e a header file) in > C/C++? > > > > > > > > > > Thanq > > > > > Bye > > > > > > > > > > > > > First get your terminology straight. A > library > > is > > > > a compiled file usually with a .lib or .dll > > > extension. > > > > > > > > A header file is a code file that usually > > contains > > > > declarations of functions (or in C++ a class > or > > > > templates). To create a header file, create a > > > code > > > > file, and save it with a .h extension. What > to > > > put in > > > > it and how to use it goes further than giving > a > > > > "straightforward" answer. > > > > > > > > Ray > > > > > > > > Then you have your answer. Do you have a good > > reference book? > > > > Ray > > Srikanth,
Do a web search on "create C header files" (without the quotes) and you will get a lot of sites with examples of how to do this. Ray __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
