Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: atoi - please help

Reply
Thread Tools

Re: atoi - please help

 
 
Neil Vice
Guest
Posts: n/a
 
      04-01-2004
> 'i' never gets incremented...
>
> Aaarghh!!


It never ceases to amaze me how often I forget to increment a counter in a
while loop, being so used to for loops. And I agree, that the size SHOULD be
checked before it is reference naturally. Another oversight on my part.

Neil


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with atoi function for a numero program. Ram C Programming 4 05-30-2008 10:24 PM
Help with Char* (i.e. c = atoi(year+2)) yogi_bear_79 C++ 25 03-07-2008 05:26 PM
java equivalent function of c atoi() function lonelyplanet999 Java 8 11-03-2003 01:07 AM
please help... ...me learn C++ please please please :) KK C++ 2 10-14-2003 02:08 PM
int to char[]: What's the reciprocal of std::atoi? Magig Boatman C++ 1 07-11-2003 07:00 PM



Advertisments