?? bar3dbar.cpp
字號(hào):
#include<graphics.h>
#include<conio.h>
void main(void)
{
int driver=DETECT,mode;
registerbgidriver(EGAVGA_driver);
initgraph(&driver,&mode,"");
setfillstyle(6,YELLOW);
bar(100,100,200,150);
setcolor(LIGHTCYAN);
outtextxy(300,100,"* * * BAR * * *");
setcolor(13);
outtextxy(300,150,"TO see the 3D Bar,Press Any Key... ...");
getch();
setcolor(LIGHTCYAN);
setfillstyle(3,YELLOW);
bar3d(100,300,200,400,10,1);
outtextxy(300,300,"* * * 3D BAR * * *");
setcolor(13);
outtextxy(300,350,"TO EXIT,Press Any Key... ...");
getch();
closegraph();
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -