List:General Discussion« Previous MessageNext Message »
From:Kenneth Hylton Date:June 11 2002 2:55pm
Subject:RE: stupid question
View as plain text  
I am assuming this is not a MySQL question since MySQL interacts with SQL
commands that are all in characters.

try using strstream.  You can poke just about anything into it and get a
string out.

If you must have a char*, then use the c_str() function of the string class.

The best implementation of this I've found is

They have something called lexical_cast that works real cool.  It throws
exceptions if you feed it garbage.

-----Original Message-----
From: adelpfe [mailto:adelpfe@stripped]
Sent: Tuesday, June 11, 2002 8:39 AM
To: mysql@stripped
Cc: plusplus@stripped
Subject: stupid question

  do you know any fonction that convert int to char*
Query/escape_string confusionFred T. Krogh1 Apr
  • Query/escape_string confusionMichael Widenius1 Apr
  • Re: Query/escape_string confusionFred T. Krogh1 Apr
RE: stupid questionKenneth Hylton11 Jun