issue with reference/RVDT function

Pages: 12
Exactly, but when I put cin.ignore('\n) it just breaks the code altogether. Where can I put a cin.ignore to fix this issue, but still keep my code running?
Last edited on
Just do cin.ignore(1). No special parameters necessary.
I just don't know where to put it. I tried right after cin.get(Ch), but then it makes me enter the number twice for it to work. It does, however, return the correct error code.
No luck I guess =/
Topic archived. No new replies allowed.
Pages: 12