搜索资源列表
BitCheck
- 做过任务系统吗?里面用到的检测任务状态的变量,也许你用INT 或 SHORT 或BOOL 可我用的是BYTE 看谁的效率高!-Mission Systems has done it? Detection task used inside a state variable, perhaps you SHORT or INT or BOOL I used to see who is the efficiency of high-BYTE!
juzhenxiangcheng
- 编写程序,可以实现m*n矩阵和n*p矩阵相乘。m,n,p均小于10,矩阵元素为整数。 分析: 首先我们可以根据题意写出函数头。可以定为void MatrixMutiply(int m,int n,int p,long lMatrix1[MAX][MAX],long lMatrix2[MAX][MAX],long lMatrixResult[MAX][MAX]),其中lMatrix1和lMatrix2分别是输入的m*n矩阵和n*p矩阵,lMatrixResult是输出的m*p矩阵。 因
namefight
- 以前自己编的一个小游戏,输入姓名然后可以对战,可以自娱自乐一下-#include <stdlib.h> #include <time.h> #include <windows.h> #define S Sleep(1000) #define P printf char name1[20],name2[20] int k1,k2,i,t1,t2,sxq int x1=100,x2=100,pow1,pow2,spe1,spe2
Sanke
- C++写的贪吃蛇程序。里面有几个int变量是可以删掉的。只有两百多行的代码,很多功能没有实现。但是基本功能算是有了吧。-C++ write the Snake program. There are several int variables can be deleted. Over two hundred lines of code, a lot of features. But the basic functions regarded to have it.
贪食蛇游戏
- 贪食蛇游戏 ,在DOS控制台运行,方向键控制方向. void Pos(int x,int y) { COORD pos; HANDLE hOutput; pos.X=x; pos.Y=y; hOutput=GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(hOutput,pos); }
Snake1
- void Pos(int x,int y) { COORD pos; HANDLE hOutput; pos.X=x; pos.Y=y; hOutput=GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(hOutput,pos); }