|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello!
I want to insert data into MySQL through C++ program at run time. How do i do that? Thanks. |
|
#2
|
|||
|
|||
|
You could do it the really easy way without having to write/find any MySQL function libraries for C with the system() command
(ie system("echo 'mysql commands|mysql'") If this seems to be a bad solution to the proble (which it is), I know that somewhere out there there's som neat MySQL stuff for C/++ |
|
#3
|
|||
|
|||
|
Sorry for the typing errors in the answer URL
Of course it should be system("echo 'mysql commands'|mysql") |
|
#4
|
|||
|
|||
|
Theres the C API that comes with mysql but theres a *new API for c++ out, go to
http://mysql.omnipotent.net/mysql++/doc/man-html/index.html to see how to use it, looks kinda easy i think. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > query in C/C++ using MySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|