GIDForums  

Go Back   GIDForums > Computer Programming Forums > CPP / C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 26-Oct-2003, 06:46
daveyp225 daveyp225 is offline
New Member
 
Join Date: Oct 2003
Posts: 4
daveyp225 is on a distinguished road

error handling code..


Hello.. i'm a beginner to c++.. just had a quick question..

I'm writing a console application in borland, and am trying to make an error handling code.. Whenever someone enters anything other than a number, my program gets sucked into an endless loop.

How would go about verifying whether input is a letter or a number without comparing every character in the string.
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with C code belludandy C Programming Language 1 26-Jan-2004 21:28
Save code option BobbyDouglas GIDForums™ 3 08-Nov-2003 23:48
strange compile error - code from reputable author!! newbie_cpp CPP / C++ Forum 0 06-Nov-2003 16:15
something wrong with this code loon MySQL / PHP Forum 5 07-Jul-2003 05:55
PHP code snippet library - Anyone have any use for this? jrobbio MySQL / PHP Forum 1 02-Mar-2003 15:18

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:25.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.