Inifinite loop problem (easy question)

Written by kishore


Hey all, sorry for all the beginner’s questions :( Anyways, I’m trying to build a simple loop that will protect against unwanted input (i.e. when the user enters a characters instead of an integer). Here’s what I have so far: Code: #include #include using namespace std; int main() {

Related posts:

  1. Prining a * from a user input integer Loop Help How can I make it continually loop? It only...
  2. Prining a * from a user input integer Loop Help How can I make it continually loop? ...
  3. Boolean and get line question..plz help I got three questions that is due tomorrow and...
  4. help me with c++ while loop? Im trying to write a code that output characters...
  5. Easy question, while loop Hello, everybody. I'm trying to make a program that...

Related posts brought to you by Yet Another Related Posts Plugin.

Mar
29

Leave a Reply