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 www.boost.org.

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





-----Original Message-----
From: adelpfe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 8:39 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: stupid question




  do you know any fonction that convert int to char*
  thantks

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to