画图软件C程序代码.docVIP

  • 1
  • 0
  • 约3.58万字
  • 约 31页
  • 2019-11-06 发布于安徽
  • 举报
. . #include graphics.h #include stdlib.h #include conio.h #include stdio.h #include dos.h #include bios.h #include math.h #include alloc.h /*定义常量*/ /*向上翻页移键*/ #define PAGEUP 0x4900 /*向下翻页移键*/ #define PAGEDOWN 0x5100 /*Escape键*/ #define ESC 0x011b /*左移键*/ #define LEFT 0x4b00 /*右移键*/ #define RIGHT 0x4d00 /*下移键*/ #define DOWN 0x5000 /*上移键*/ #define UP 0x4800 /*空格键*/ #define SPACE 0x3920 #define NO_PRESSED 0 #define LEFT_PRESSED 1 #define RIGHT_PRESSED 2 #define pi 3.1415926 /*定义全局变量*/ int Rx,Ry,R; int TOPx,TOPy,BOTTOMx,BOTTOMy; int Centx,Centy; int lineStartx,lineStart

文档评论(0)

1亿VIP精品文档

相关文档