Data Storage in C++

I recently learned that PHP uses classes in a similar way as C++. One can combine that feature with SQL to access databases. I think that is pretty powerful.

My question for the C++ gurus is this: Is there any way, other than writing to and reading from text files on the hard drive, to store the values generated in a C++ session for use in a subsequent session?

I read in a thread here that MySQL is not available for use with C++. Is there any database that can be used with C++? Access? Oracle?

Thanks.
The C programming interface to MySQL: http://dev.mysql.com/doc/refman/5.6/en/c.html

A C++ interface: http://dev.mysql.com/doc/refman/5.1/en/connector-cpp.html

I have not used either of these.

Also, check out SQLite: http://www.sqlite.org/
Thank you, Alrededor. I think I will be able to use the MySQL interface. I guess I misunderstood that other thread.

Topic archived. No new replies allowed.