can someone give me a brief explanation of a do, while command?

im new to c++, trying to write a very simple program, i think it could use some kind of a loop?
i read somewhere that a do, while can be used for a loop? but im not sure if thats correct, and if possible a basic layout of the command.
thanks!
Last edited on
Hi, the tutorial on this site has a nice explanation on the basic control structures, including do {} while();

See http://www.cplusplus.com/doc/tutorial/control.html
alrite i'll check that out
thanks
Topic archived. No new replies allowed.