can someone give me an advice

i have a stupid question about "do", im a noob in c++
im using borland c++ atm.

do
{
cout<<"\n ORDER : ";cin>>order;
pay=0;
for(total=1;total<=order;total++)

my question is, can someone give me an explanation about it while i knew is a couple for "do" is "while"? how could it happen?

*it works perfectly 0 warning, 0 error
*sorry about my english
It's hard to understand the code there, it is incomplete.

A couple of things. Loops are explained here (including do-while):
http://www.cplusplus.com/doc/tutorial/control/

Also, Borland C++ is pretty outdated. If possible, update to something more recent:
http://www.cplusplus.com/doc/tutorial/introduction/
Topic archived. No new replies allowed.