搜索资源列表
bm
- mport java.util.ArrayList import java.util.Scanner public class BMalgorithm { @SuppressWarnings("unchecked") public static void main(String[] args)-mport java.util.ArrayList import java.util.Scanner public class BMalgorithm {@ Sup
ShakeForFood2
- 里面所用的opencv全部开源…。例子是参考一个日本程序员弄的 使用此demo时 尽量不要戴眼睛或者侧面拍照,不然有可能识别不了!!! 请直接使用真机看效果…。 关于如何使用: 选择take photo wite camera,拍照完毕后选择face按钮进行识别就可以了… 如何在自己项目中加入此效果? 1.将此项目的libopencv_core.a,libopencv_imgproc.a,libopencv_objdetect.a拖入
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
snake
- 这是一个简单的贪吃蛇游戏!只要把这个游戏导入eclipse就可以运行和查看源代码-import com.ruimin.snake.model.GameConstant import com.ruimin.snake.view.GameView import android.os.Bundle import android.os.Handler import android.os.Message import android.app.Activity im
wuziqi
- api五子棋经典五子棋小游戏,使相同颜色的五个棋子连着即可消去,不论横坚,棋子周围要有空隙才能够移动-api classic backgammon backgammon game, so the same color to eliminate five pieces attached, regardless of the cross-Kennedy, the pieces have a void to be able to move around
贪食蛇游戏
- 贪食蛇游戏 ,在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); }