Ok, I am fairly certain that what you are suggesting is on the right track Walt.
cin.ignore(); does seem like the solution here, but I still can't seem to make it cooperate. The text for this class seems to have no reference to cin.ingore at all, but fortunately I have the internet and other (slightly dated) reference that I got from the library that does. Here's where I'm at, it seems that if you leave the parenthesis open, nothing happen. Makes sense. Nothing else that I put in there seems to do what I want it to do. if I put in
cin.ignore('\r'); it just stops. I understand what you you're saying that c[enter] is two characters, although that hadn't occoured to me.
OK, let me post a slightly cleaned up version of what I had, and then a couple of questions.
1. Do I want
cin.ignore in the
getinfo function after cin>>scl; ?
yes
2. Is there somewhere that I could find a rough and ready explaination of what goes on within the parenthesis after that command?
Try This
3. I'm still curious as to what is telling it to go from:
celscl to celscl to fahscl to CnorF if it get C,
fahscl to celscl fahscl to CnorF if it gets F,
and CnorF to celscl to fahscl to CnorF if it gets anything else..
I understand the first part of each, that's what I want it to do.. but why does the (deleting expletives) thing go through the functions the other three times??
I thought I saw someone post an answer to this question either here or on another board
4. Since I want to allow for upper or lowercase C or F, will [shift] C [enter] result in three characters being entered?
No. Just 'C[enter]'