Visual C++

Visual C++ - statements

Statements are important elements for writing programs. Generally one statement line corresponds to one line program. The main group of the statements are: cycles, program branching and flow control.

Examples - Visual C++

Visual C++ .NET
 i = x * 5;
 while (i>0)
   if (i==10)
     break;
   else 
   {
     i--;
   }

Other pieces of example codes:
Visual C++ .NET
if (x>1)
{
  x=1;
  y=y-1;
}
ymax = 4294967295;
do --i; while ( i > 0);
continue;
if (i==10)
     break;
   else 
   {
     i--;
   }
if (i > 10)
{
i =10;            i = i - 1;   i++;
}
Languages: en hu cz sk