1.putpixel����Դ��
putpixel����Դ��
è· colorä¸ä»ä¹å ³ç³»!@/
ååï¼extern void putpixel(int x,函数函数决战龙头指标源码 int y, int mode);
ç¨æ³ï¼#include <system.h>
åè½ï¼å¨å±å¹çæå®ä½ç½®ä¸ç»ç¹
说æï¼(x,y)为å±å¹ä¸ç¹çåæ ï¼modeå¼å«ä¹å¦ä¸ï¼
mode=0ï¼æ¸ é¤ï¼xï¼yï¼å¤çç¹
1ï¼å¨ï¼xï¼yï¼å¤ç»ç¹
2ï¼å°ï¼xï¼yï¼å¤çç¹çç¶æåå
举ä¾ï¼
// pixel.c
#include <system.h>
main()
{
int i,j;
clrscr();
printf("V");
gotoxy(,); // Hide cursor
for(i=0;i<8;i++)
for(j=0;j<;j++)
{
if(getpixel(i,j))
putpixel(+i,+j,1);
else
putpixel(+i,+j,0);
}
getchar();
return 0;
}
ç¸å ³å½æ°ï¼getpixel
2024-12-26 00:53
2024-12-26 00:46
2024-12-26 00:46
2024-12-26 00:28
2024-12-25 23:54
2024-12-25 23:31
2024-12-25 23:23
2024-12-25 23:18