#include <iostream> using namespace std; int main() { int i = 0; for(i = 0;i<5;i++) { cout << i << endl; } system("pause"); return 0; }
c++学习12 -- for循环
原文:https://www.cnblogs.com/mohu/p/8966607.html