visual studio下
#include <Windows.h> for (int i = 0; i < 10; ++i){ system("cls");//清屏 printf("num: %d ", i); }
Linux下
for (int i = 0; i < 10; ++i){ printf("
visual studio下
#include <Windows.h> for (int i = 0; i < 10; ++i){ system("cls");//清屏 printf("num: %d ", i); }
Linux下
for (int i = 0; i < 10; ++i){ printf("