1 Star 1 Fork 2

劉亜崇/C和C++游戏趣味编程

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
2-5-1.cpp 411 Bytes
一键复制 编辑 原始数据 按行查看 历史
劉亜崇 提交于 2022-04-04 10:40 +08:00 . 初始化
#include <graphics.h>
#include <conio.h>
#include <stdio.h>
int main()
{
int y = 100;
int step = 100;
initgraph(600, 600);
fillcircle(300, y, 20);
Sleep(1000);
y = y+step;
fillcircle(300, y, 20);
Sleep(1000);
y = y+step;
fillcircle(300, y, 20);
Sleep(1000);
y = y+step;
fillcircle(300, y, 20);
Sleep(1000);
y = y+step;
fillcircle(300, y, 20);
Sleep(1000);
_getch();
closegraph();
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/liuyachong/Interesting-programming-of-C-and-Cpp-Games.git
git@gitee.com:liuyachong/Interesting-programming-of-C-and-Cpp-Games.git
liuyachong
Interesting-programming-of-C-and-Cpp-Games
C和C++游戏趣味编程
main

搜索帮助