View Single Post
  #1  
Old 09-29-2010, 10:50 PM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default Infinite Loop due to char input

Hello I was wondering how can I set a char limitation in my code when I am asking for an int? When you input a char my program goes crazy. Let's put the following simple program as an example: <div class="codeblock"> <div class="spaced"> <div>C++ Syntax (
__________________
C++
domain name forum
Reply With Quote