Posts
 
Reputation
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
~491 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for senergy

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; } } …

Member Avatar for godinac
0
491

The End.