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

TOP

返回列表