I'm using MySQL C API with C++ to connect to a database. I wold like so select some numbers from the database.
Is there a way to fetch number types like INTEGER or DOUBLE into native C types like int or double directly without having to parse them from a string?
EDIT: How about ENUMs? I would hate do do a strcmp every time instead of using switch.