February 7th, 2002, 09:09 AM
C, MySQL wrapper: making it available in other files?
I've successfully made a connection between C and MySQL, but: my problem is : I've made a header file and a .c file with all my funcitons, now: how can I use the .c file in other programs??
my_file.h , my_file.c <= all the MySQL stuff
and then use all the functions in my_test.c ???
Just started with C,so any help/pointers apreciated!
Comments on this post
February 7th, 2002, 09:53 AM
There is more than one way to approach this problem.
1) You can compile the mysql wrapper into a library and then include that library when you compile the new program.
2) You can include the files in with your new program and use it that way.