I foudn this tut for looping within c++, gives you a step by step guide as to how to use them.

I put them into Word so it can be a print out if need be