setfillp.c

来自「vc library 韩国语版 希望对大家又帮助」· C语言 代码 · 共 15 行

C
15
字号
#include <graphics.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
void main()
{
int gd=0,gm;
char pattern[8]={0x00,0x02,0x04,0x48,0x28,0x10,0x10,0x00};
initgraph(&gd,&gm,"");
setfillpattern(pattern,14);
fillellipse(200,200,100,100);
getch();
closegraph();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?