Add ege4.cpp

This commit is contained in:
daleclack 2020-09-16 08:47:28 +08:00 committed by GitHub
parent 856e7cf7a6
commit 29f5a39f8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
ege/ege4.cpp Normal file
View File

@ -0,0 +1,14 @@
#include<graphics.h>
#include<stdio.h>
int main(){
initgraph(400,300);
setcolor(GREEN);
line(0,100,370,350);
setfillcolor(EGERGB(0xff,0x00,0x80));
bar(30,0,70,20);
setcolor(RED);
arc(40,70,0,124,13);
getch();
closegraph();
return 0;
}