No, it's a while loop! You need to go read the tutorial on control structures. Your questions suggest that you need a lot of help on this, and I truly mean no offense. (Otherwise I wouldn't have passed you a link.) http://www.cplusplus.com/doc/tutorial/control/
Comma operator should really be avoided unless your use for it is specific. For clarity and style you should have the ++ in the while loop's body.