返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     while(true)
  7.     {
  8.     cout<<"歡";
  9.     _sleep(500);
  10.     system("cls");
  11.     cout<<"  迎";
  12.     _sleep(500);
  13.     system("cls");
  14.     cout<<"    光";
  15.     _sleep(500);
  16.     system("cls");
  17.     cout<<"      臨";
  18.     _sleep(500);
  19.     system("cls");
  20.     cout<<"歡";
  21.     _sleep(500);
  22.     cout<<"迎";
  23.     _sleep(500);
  24.     cout<<"光";
  25.     _sleep(500);
  26.     cout<<"臨";
  27.     _sleep(500);
  28.     system("cls");
  29.     cout<<"歡迎光臨";
  30.     _sleep(500);
  31.     system("cls");
  32.     cout<<"        ";
  33.     _sleep(500);
  34.     system("cls");
  35.     cout<<"歡迎光臨";
  36.     _sleep(500);
  37.     system("cls");
  38.     }
  39.     system("pause");   
  40.     return 0;
  41. }
複製代碼

TOP

返回列表