2026年2月1日
摘要: 故事背景: 这,是一个C++画图程序, #include "sprites.h" //包含C++精灵库 Sprite turtle; //建立角色叫turtle int main(){ //主功能块 turtle.bgcolor("black").color("cyan"); for(int i=0 阅读全文
posted @ 2026-02-01 19:06 李兴球 阅读(30) 评论(0) 推荐(0)
摘要: 这,是一个采用C++精灵库编写的程序,它画了一幅漂亮的图形: #include "sprites.h" //包含C++精灵库 Sprite turtle; //建立角色叫turtle void draw(int d){ for(int i=0;i<5;i++)turtle.fd(d).left(72 阅读全文
posted @ 2026-02-01 16:41 李兴球 阅读(527) 评论(2) 推荐(0)