I have a simple file.h and file.c and looking to make a library out of it so I can do :
#include <file.h>
anyone know a good tutorial for this?
I have a simple file.h and file.c and looking to make a library out of it so I can do :
#include <file.h>
anyone know a good tutorial for this?
Given that it's not possible, I doubt you'll find many links at all.
You generally need a header (.h) file to use a library, but they are separate things and shouldn't be conflated.
To create a library from file.c, all you need to do is compile it.
No you can do it.
I did one at a school account a little bit ago but forgot how to do it.
Of course you can do it. But using a library and including a header file are as related as fish and bicycles.
And if you don't even want to go to the trouble of creating the library, you can just include the file.c on the command line when you compile your main program.