May I know what does this code do? Just a beginner, but I have never used this code and would like to know how to use it or specifically what does it do? Importantly, just need to know while(cin) part.
Had a quick question. I was looking over youtube videos and encountered this loops where they said this loop will be exceucuted until the number is zero. I know I didn't give out that many details of what my problem is; however, what does while(number) I thought if I don't want number to be zero can I not just do !number=0)