Visual C++ .NET/Statement/for
Create a for Loop
#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;
}
#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;
}