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