|
|||||||||||
|
Problem with "mysqlpp:Result"
From: ALeX <logocomune(at)gmail.com>
Date: Wed Oct 24 2007 - 06:29:08 EDT
mysqlpp::Row row;
mysqlpp::Row::size_type i;
for (i = 0; row = res.at(i); ++i) {
cout << '\t' << row.at(0) << endl;
}
}
My executable stop with "This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more information."
I solve with this trick...
mysqlpp::Row row;
row = res.at(i);
My question is why the first code rise errors? -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=lists@pantek.comReceived on Wed Oct 24 06:29:25 2007 This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 00:21:36 EDT |
||||||||||
|
|||||||||||