Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.65K
1 Posted Topic
I have trouble with my code. Please help me :(( Visual c++ 2010. #include <iostream> #include <mysql++.h> #include <iomanip> int main(void) { mysqlpp::Connection con=false; con.connect("test", "localhost", "root", "hesoyam"); if(con) { std::cout<<"Conectare reusita\n\n"; mysqlpp::Query sql1=con.query("select * from `useri`"); mysqlpp::StoreQueryResult res; sql1.parse(); if(res=sql1.store()) { try{ size_t i; for(i=0;i<res.num_rows();i++) { std::cout<<res[i]["nume"]<<std::endl; } } …
The End.
godinac