Add ege5.cpp
This commit is contained in:
parent
0e539b3740
commit
4561de99fd
|
@ -0,0 +1,18 @@
|
|||
#include<stdio.h>
|
||||
#include<graphics.h>
|
||||
int main(){
|
||||
initgraph(400,300);
|
||||
setbkcolor(BLUE);
|
||||
setcolor(BLACK);
|
||||
setfont(12,0,"SimSum");
|
||||
setbkmode(TRANSPARENT);
|
||||
outtextxy(40,90,"Text1");
|
||||
setfillcolor(BLACK);
|
||||
bar(0,0,70,20);
|
||||
setcolor(WHITE);
|
||||
setfont(15,0,"SimSum");
|
||||
setbkmode(TRANSPARENT);
|
||||
rectprintf(0,0,60,15,"Text2");
|
||||
getch();
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue