搜索资源列表
snake
- /*--- --- -----编译过程使用的头文件*/ #include<graphics.h> #include<stdlib.h> #include<dos.h> /*-----------------宏定义用到的数量关系(键盘上、下、左、右按键的值)*/ #define N 200 #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000
imitate-watch
- 运用#inlcude"graphics.h",基本实现了钟表模拟程序(表针形式),很具学习效果。-Use# inlcude " graphics.h" , the basic realization of the watch simulation program (hands form), it is a learning effect.
snake
- 实现一个贪食蛇的功能,做的很漂亮,在程序中#include <graphics.h>需要使用TC的EASYX的库函数调用。-Can realize the function of a gluttony snakes, in the program# include < h >. Graphics. You need to use the TC EASYX library function calls.
C1
- #include "stdlib.h" #include"graphics.h" main() { int gd=DETECT,gr,a[8],b[8],x,y,i,j,c initgraph(&gd,&gr,"") randomize() for( !kbhit() ) { x=rand() 500+100 /*随机中心坐标*/ y=rand() 300+100 a[0]=x /*各点坐标的计算,我的烟花图形没能是圆的*/-#
c4
- #include <graphics.h> #include <stdlib.h> #define N 200 #define up 0x4800 #define down 0x5000 #define left 0x4b00 #define right 0x4d00 #define esc 0x011b #define Y 0x1579 #define n 0x316e int gamespeed /* 游戏速度 */ int
source
- 用tc3.0的graphics.h简单编写的一个小源代码——画图-The graphics.h with tc3.0 simple source code written in a small- drawing arcs
drawing-circle
- 自己寫的畫圓程序,很容易了解,提供給大家參考-Write C program to draw a circle using c graphics. In this program we use the graphics.h library function to draw a circle. To use graphics.h, we have to install the drivers in to the the system by using the initgraph() funct
koch
- 递归koch算法 用于生成雪花图形,是一个简单的使用递归算法实现Koch的程序,其中使用了graphics.h实现绘图操作-Koch snowflake recursive algorithm used to generate the graph is a simple recursive algorithm to use Koch s procedures, which use a drawing operation to achieve graphics.h
elsfkv2..0
- 俄罗斯方块V2.0 游戏用四个方向键控制: 左右键分别左移一格,右移一格; 上键变形(顺时针调整方块方向) 下键方块直接落底! 空格键暂停,ESC键退出游戏; windows2000+tc2.0+graphics.h下编译! -Tetris V2.0 With the four arrow keys to control the game: Left and right keys were left
ege13.04
- EGE,(Easy Graphics Engine),是windows下的简易绘图库,是一个类似BGI(graphics.h)的面向C/C++语言新手的图形库,它的目标也是为了替代TC的BGI库而存在。-EGE, (Easy Graphics Engine), is a simple graphics library under windows, is similar to BGI (graphics.h) oriented C/C++ language novice graphics libr
Static_OpenGL
- OpenGL命令最初就是用C语言函数来进行描述的,对于学习过C语言的人来讲,OpenGL是容易理解和学习的。如果你曾经接触过TC的graphics.h-OpenGL command was originally used to describe the C language functions for learning C language speaking people, OpenGL is easy to understand and learn. If you have worked wi
EasyX_2013
- VC程序调试中经常遇到没有"graphics.h"文件,用EasyX可以解决此问题-VC debugging often encountered no " graphics.h" file, this problem can be solved with EasyX
clock
- c++ DOS窗口的一个时钟(表盘) 但是需要graphics.h 去EasyX下吧-A clock c++ DOS window (dial) but need to go down EasyX it graphics.h
youxi
- 此代码是需要用throb c作为开发工具为基础的俄罗斯方块游戏。因为调用了里面的图形函数头文件graphics.h-This code is needed throb c as a development tool based Tetris game. Because the graphics function calls inside the header file graphics.h
TANCHISHE
- #define N 200 #include <graphics.h> #include <stdlib.h> #include <dos.h> #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5-#include <dos.h>#define LEFT 0x4b00#define RIGHT 0x4d00#define DOWN 0x5000
CAISESHIZHONG
- 彩色时钟#include<math.h> #include<dos.h> #include<graphics.h> #define CENTERX 320 #define CENTERY 175 #define CLICK 100 #define CLICKDELAY 30 #define HEBEEP 10000 #define LOWBEEP 500 #define BEEPDELAY 200 int Mrk_1[8
Snake-code
- 贪吃蛇代码-C语言-VC++6.0 /*这是一个贪吃蛇代码,运行环境VC++6.0(亲测完美运行)*/ /*该程序在dos系统下运行,不需要graphics.h头文件*/ -Snake code-C language-VC++6.0 /* this is a Snake code, operating environment VC++6.0 (dear test run perfectly) /* this program to run in the DOS syste
tuxingtongxunlu
- c语言入门时写的图形界面通讯录,因为vc++6.0没有图形的头文件,所以运行的话需要加入graphics.h,没有的去网上下载。-graphics tongxunlu
EasyX_2013
- c控制台图形库 graphics.h she he chuxue zhe-c console graphics library graphics.h she he chuxue zhe
c-5zi
- c语言编写的五子棋程序,用户界面采用Graphics.h函数库编写而成,支持人机对战,人人对战.-c Gobang programs written in languages, user interface library used Graphics.h been compiled to support human-machine Versus, everyone Versus.