On Tue, January 3, 2006 18:28, Luis Silva wrote:

> can you help with my problem. I made a function that return a bool value.
> if
> i get the R[0][0] I get the value but not in a different type. What I
> doing
> is converting the result to string and then compare with f or t. is it
> possible to use a fastest method. thanks in advance.
>
> if(to_string(R[0][0]).compare("f")==0){cout << "consegui!!!!" << endl;}

if (R[0][0].as<bool>()) cout << "consegui!!!!" << endl;


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to