c++学习12 -- for循环

#include <iostream>
using namespace std;

int main()
{
    int i = 0;
    for(i = 0;i<5;i++)
    {
        cout << i << endl;
    }

    system("pause");
    return 0;
}
原文地址:https://www.cnblogs.com/mohu/p/8966607.html