View Single Post
  #8 (permalink)  
Old August 24th, 2004, 01:15 AM
mehdi62b mehdi62b is offline
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

nokomis,they are char variables not integer variables so it works fine.
if I were you I didnt use getline(),when you want to handle only one character why using getline()!
the bestway is reading invalid characters until getting a valid character then using switch you can determine what action should be done according your valid inputs.


--------------------------------------------
Mehdi.:)
Reply With Quote