Hi, I'm currently working on a project in which I need to store row information into various data structures with the function automatically casting the proper values and the ability to apply it to multiple structures(so not hard coding the structures attribute names).
e.g.. my_table has the columns integer my_row1 char[3] my_row2 long my_row3 and upon retrieval I want them to go into a data structure struct my_struct{ int firstrow; char secondrow[3]; long thirdrow; } Is there a way I can do this with the mysql c or c++ api's while leaving the result set as a mysql_use_result(or c++ equivalent)? Help would be appreciated, Andrew C. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php