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