Search:

Type: Posts; User: duffsb

Search: Search took 0.00 seconds.

  1. Replies
    22
    Views
    2,209

    Thanks for the suggestion Daved. You are...

    Thanks for the suggestion Daved. You are correct. The code does ignore the .x portion of the floating point value that is entered and goes on without putting cin into the error state. But, in the...
  2. Replies
    22
    Views
    2,209

    Input Validation - User enters float

    Hello,

    I subscribed to get help with a similar problem from my C++ course and saw this thread. I wanted to add some things I found when working with cin. I think the above handles validation of...
Results 1 to 2 of 2