Hi
I was wondering how to prevent someone from typing in more than the set number of characters in an array...i have been using:
cin.getline (name, 50)
but it enters a continious loop if more than 50 chars are entered, just wodndering if theres a way around this?
thanks



LinkBack URL
About LinkBacks



