Quote Originally Posted by eightyfive
but, I think you are very closed to the INT type, consider it could be done using another data type, just think about it.
why so closed to the INT type?
I don't understand what you are trying to get here. Do you even understand the point that Paul McKenzie was trying to make, or are you merely fixated on your "solution" and closed to good practice?

Quote Originally Posted by eightyfive
and why do you say again and again, something like this:
Because an array (or some other suitable container) would be a normal solution to the problem. Good solutions are worth repeating when they are not in the limelight.

Quote Originally Posted by eightyfive
his problem involved the fact that his teacher didn't allow him to use arrays, pointers, dynamic allocation or even structs.
but you didn't know that part, so it's okay
Well, now that we know that, we know that it is his teacher who scarred him for life. You were just an accessory to the crime