Hi,
The very first thing is plz. tell me why you are stick with using cin and cout? if wanna do in your way you just overload this with a function containg C type of validation. I think you can do this by trapping the key using c=getchar() and checking the input value for ASCII in alphabets range.
Just tried......
Plz...Don't......
Regards.
|