October 7th, 1999, 03:42 AM
I want to insert data into MySQL through C++ program at run time. How do i do that?
October 7th, 1999, 09:21 AM
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/++
October 7th, 1999, 09:28 AM
Sorry for the typing errors in the answer
Of course it should be
system("echo 'mysql commands'|mysql")
October 9th, 1999, 05:51 AM
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.