跳到正文

dong_jun_shuo

2051696

?️

在洛谷打开
资料、奖项与版本

资料

编号
2051696
抓取
C++
#include<bits/stdc++.h>
#ifdef _WIN32
#include<windows.h>
#include<conio.h>
#endif
int main(){
  #ifdef _WIN32
  system("cls");
  system("color 0f");
  for(;;){
    //c++11
    system("date/t");
    system("time/t");
    Sleep(10);
    system("cls");
  }system("dir/s");//没用
  #else
  cout<<"error by OS it's windows\n";
  #endif
  return 0;
}

还没有收录这位用户的文章。