|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ziff Davis Enterprise Virtual Tradeshows: Hot Topics, Cutting Edge Technology, Real-time Interaction with IT Professionals. Learn more at ziffdavisvts.com
|
|
#1
|
|||
|
|||
|
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??
EX: 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! Thanks NuCleuZ |
|
#2
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > C, MySQL wrapper: making it available in other files? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|