robing
2008-12-10 09:18:01 UTC
char answer[80];
cin >> answer;
This causes a problem if the user enters too much data. If I try it with an unsized array like so:
char answer[];
cin >> answer;
the compiler returns an error. What should I do so that the user can enter as much data as they like without causing an error?
Thanks for all your help.