Tks a lot

>From: "Jeroen T. Vermeulen" <[EMAIL PROTECTED]>
>To: "Luis Silva" <[EMAIL PROTECTED]>
>CC: [email protected]
>Subject: Re: [libpqxx-general] function returning bool
>Date: Tue, 3 Jan 2006 18:49:29 +0700 (ICT)
>
>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
>
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

Reply via email to