c++游戏编程代码大全
@包德4065:谁有c++小游戏代码
贲悦13047227807…… #include<iostream>#include<windows.h>#include<conio.h>#include<time.h>#include<string>using namespace std;/*=============== all the structures ===============*/typedef struct Frame{COORD position[2];int flag;}Frame;/*===========...
@包德4065:跪求用VC++编写的简单点的小游戏程序源代码,谢谢 -
贲悦13047227807…… #include<graphics.h>#include<stdio.h>#include<math.h>#include<conio.h>#include<stdlib.h>#include<dos.h>#define PI 3.1415926#define x0 320#define y0 240 DrawClock(int x,int y,int color) { int r=150; setcolor(color); circle(x,y,r); circle(x,y,2); } ...
@包德4065:求一个简单的C++小游戏源程序.有注释. -
贲悦13047227807…… #include using namespace std;#include #include int main(){ int x; cout<<"输入任意数字开始."<<en...
@包德4065:c++24点游戏源代码 -
贲悦13047227807…… #include <iostream> #include <string>#include <vector>#include <algorithm>#include <iterator>#include <cmath> using namespace std;/* 存放解集 */ vector<string> ivec;/* 第1个数和第2个数的值及表达式 */ double key1_2[6] = { 0 }; string exp1_...
@包德4065:求一个C++数独游戏的原代码! -
贲悦13047227807…… 我这个很好#include#include#include int f(int i,int j,int s);int n[9][9];int line[9][9],column[9][9],block[9][9];char youxi[9][9];i...
@包德4065:求基于C++的贪吃蛇游戏完整代码,能运行出来的~~~ -
贲悦13047227807…… 一个参考实例,在vc++6.0中可以运行成功(可能还有问题)#include <iostream.h>#include <windows.h>#include <stdlib.h>#include <conio.h>#include <time.h> //使用当前时间做种子; enum dir{up,down,left,right}; //枚举类型enum dir;//围墙; ...
@包德4065:用类的c++小游戏源代码?
贲悦13047227807…… 以下是贪吃蛇源代码: #include #include #include #include #include #define N 21 void gotoxy(int x,int y)//位置函数 { COORD pos; pos.X=2*x;
@包德4065:求一C++文字类小游戏源代码 -
贲悦13047227807…… 给你一个作为参考吧,简单了一点, 可以在此基础上再发挥和作修改: #include #include #include #include<stdlib...
@包德4065:求C++ 命令行游戏源代码 -
贲悦13047227807…… Windows自带的扫雷游戏源代码 C++的或/类名:main // 说明:英文单词拼写检查...
@包德4065:急求一个猜拳小游戏的C++程序拜托各位大神 -
贲悦13047227807…… #include #include void show(int input) { switch(input) { case 0:cout<<("出的是石头!"...
贲悦13047227807…… #include<iostream>#include<windows.h>#include<conio.h>#include<time.h>#include<string>using namespace std;/*=============== all the structures ===============*/typedef struct Frame{COORD position[2];int flag;}Frame;/*===========...
@包德4065:跪求用VC++编写的简单点的小游戏程序源代码,谢谢 -
贲悦13047227807…… #include<graphics.h>#include<stdio.h>#include<math.h>#include<conio.h>#include<stdlib.h>#include<dos.h>#define PI 3.1415926#define x0 320#define y0 240 DrawClock(int x,int y,int color) { int r=150; setcolor(color); circle(x,y,r); circle(x,y,2); } ...
@包德4065:求一个简单的C++小游戏源程序.有注释. -
贲悦13047227807…… #include using namespace std;#include #include int main(){ int x; cout<<"输入任意数字开始."<<en...
@包德4065:c++24点游戏源代码 -
贲悦13047227807…… #include <iostream> #include <string>#include <vector>#include <algorithm>#include <iterator>#include <cmath> using namespace std;/* 存放解集 */ vector<string> ivec;/* 第1个数和第2个数的值及表达式 */ double key1_2[6] = { 0 }; string exp1_...
@包德4065:求一个C++数独游戏的原代码! -
贲悦13047227807…… 我这个很好#include#include#include int f(int i,int j,int s);int n[9][9];int line[9][9],column[9][9],block[9][9];char youxi[9][9];i...
@包德4065:求基于C++的贪吃蛇游戏完整代码,能运行出来的~~~ -
贲悦13047227807…… 一个参考实例,在vc++6.0中可以运行成功(可能还有问题)#include <iostream.h>#include <windows.h>#include <stdlib.h>#include <conio.h>#include <time.h> //使用当前时间做种子; enum dir{up,down,left,right}; //枚举类型enum dir;//围墙; ...
@包德4065:用类的c++小游戏源代码?
贲悦13047227807…… 以下是贪吃蛇源代码: #include #include #include #include #include #define N 21 void gotoxy(int x,int y)//位置函数 { COORD pos; pos.X=2*x;
@包德4065:求一C++文字类小游戏源代码 -
贲悦13047227807…… 给你一个作为参考吧,简单了一点, 可以在此基础上再发挥和作修改: #include #include #include #include<stdlib...
@包德4065:求C++ 命令行游戏源代码 -
贲悦13047227807…… Windows自带的扫雷游戏源代码 C++的或/类名:main // 说明:英文单词拼写检查...
@包德4065:急求一个猜拳小游戏的C++程序拜托各位大神 -
贲悦13047227807…… #include #include void show(int input) { switch(input) { case 0:cout<<("出的是石头!"...