try atoi On Fri, Jun 20, 2008 at 4:18 PM, Paul David <[EMAIL PROTECTED]> wrote:
> It's my understanding that sprintf() converts numbers into strings > (correct me if i'm wrong) I need to convert a string into a number > > On Jun 20, 2008, at 4:10 AM, Paul Herring wrote: > > > On Fri, Jun 20, 2008 at 10:11 AM, Paul David > > <[EMAIL PROTECTED] <pauljdavid%40charter.net>> wrote: > > > Is there a C version of the C++ ' stringstream() ' I've done some > > > searching on Google and a few other places but I haven't been > > able to > > > find anything. > > > > I think sprintf() is the closest you'll get. (It's usually involved in > > the questions to which stringstream is the answer - e.g. "How do I > > implement sprintf() in C++?") > > > > -- > > PJH > > > > 'Two Dead in Baghdad' not 'product-friendly' - Kent Ertugrul, chief > > executive of Phorm. > > > > http://shabbleland.myminicity.com/ind > > > > > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]
