Having a couple fairly simple problems (but I'm lost nonetheless):
I have a class consisting of something like this:
The input to fill the variables are entered via keyboard.
I use cin.getline(obj.a, 60); for the arrays, but user can over run boundaries. How can I control this?
Also, when error checking the int's and float's (cin >> obj.c;) how do I stop a char input?
Any help much appreciated.