Visual C++ .NET/Statement/while — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
| |
Версия 15:31, 26 мая 2010
Create a while Loop
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int main(void)
{
int x;
x=0;
while((++x)<10)
{
Console::WriteLine(x);
}
return 0;
}