摘要: #include <graphics.h> #include <bits/stdc++.h> #include <conio.h> int main(){ srand(time(0)); initgraph(1024,680); for(int i=0;i<500;i++){ putpixel(ra 阅读全文
posted @ 2025-04-19 15:25 陈若麟 阅读(6) 评论(0) 推荐(0)
摘要: #include <graphics.h> // 引用图形库头文件 #include <conio.h> int f(int x,int y){ int a=350-(x/2),b=240-(y/2),c=350+(x/2),d=240+(y/2); for(int i=a;i<=c;i++){ f 阅读全文
posted @ 2025-04-19 15:16 陈若麟 阅读(6) 评论(0) 推荐(0)
摘要: #include <graphics.h> // 引用图形库头文件 #include <conio.h> int f(int x,int y){ COLORREF n[7]={RED,RGB(255, 165, 0),YELLOW,GREEN,CYAN,BLUE,RGB(128, 0, 128)}; 阅读全文
posted @ 2025-04-19 15:03 陈若麟 阅读(3) 评论(0) 推荐(0)