
C++
文章平均质量分 77
q6475005
正在学习中的IT狂人
展开
-
迷宫问题,二维数组模拟迷宫;
// Datastructure2.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "iostream" using namespace std; static int w; static int h; static int column = 0; static int row = 0; static int **原创 2012-08-17 10:49:37 · 4078 阅读 · 0 评论 -
内排序算法比较
// Datastructure1.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include using namespace std; #define MAXSIZE 4000 //可排序表的最大长度 #define SORTNUM 6 //测试6中排序方法 //#define原创 2012-08-17 10:52:36 · 421 阅读 · 0 评论 -
运动会分数统计
#include #include #include #include #include using namespace std; int n,b,m,w,i,j; char school_name[20][30]; char sport_name[100][30]; struct node { int num; }; st原创 2012-08-22 09:17:07 · 1680 阅读 · 0 评论 -
运动会计分系统—面向对象
School.class #include using namespace std; class School { private: int id; string name; int totalCore; int manCore; int womanCore; public: School(int i,string n,int totalcore,int man原创 2012-08-22 17:41:44 · 1511 阅读 · 0 评论