What doesn't work?
Wazzak
I want to get out from loop when cin get enter without any other value.
Last edited on
You could read in a string and check for the empty string.
That's not enough information for anyone to help you.
probably you should do the loop until the user enter 0 (zero)...probably that's better...