how to define a while statement in c++

C++
while(condition)
{
   statement(s);
}
Source

Also in C++: