No, It's meant to be an integer.
This is the way we learn it in school (Every single program has this kind of a statement in it).
So do i overflow the allocated memory in the RAM (Like i would if i entered a longer string than declared) or is this taking place in the cin stream? (if there is such a thing, I'm not that knowledgeable about library functions)
Because i find it strange how cin should just stop responding like that.
The loop goes on fine though, It's just that the cin doesn't accept any further input.
Thanks for your reply. I'll try to find a way around it.