- 博客(11)
- 收藏
- 关注
原创 第四周 项目2-建设“单链表”算法库
/* *文件名称:1.pp *作者:王超 *完成日期:2015年9月25日 *问题描述:建设“单链表”算法库*/ #include #include typedef int ElemType; typedef struct LNode //定义单链表结点类型 { ElemType data; struct LNo
2015-09-25 08:47:24 457
原创 第四周 项目1-建立单链表
/* *文件名称:cpp1.pp *作者:王超 *完成日期:2015年9月21日 *问题描述:定义单链表存储结构,用头插法和尾插法建立单链条 */ #include #include typedef int ElemType; typedef struct LNode //定义单链表结点类型 { ElemType data;
2015-09-21 16:47:21 399
原创 第三周 项目4-顺序表应用2
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.18 *问题描述:顺序表应用 */ #include #include #define MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize]; int length;
2015-09-18 22:32:02 428
原创 第三周 项目4-顺序表应用
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.18 *问题描述:顺序表应用 */ #include #include #define MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize]; int length;
2015-09-18 22:28:07 424
原创 第三周 项目3-求集合并集
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.18 *问题描述:求集合并集 */ #include #include #define MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize]; int length;
2015-09-18 22:24:35 474
原创 第三周 项目2-建设顺序表算法库
#include #include #define MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize]; int length; } SqList; void CreateList(SqList *&L, ElemType a[], int n);//用数组创建线性表 void Ini
2015-09-18 22:13:28 517
原创 第三周 项目1-顺序表的基本运算
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.18 *问题描述:顺序表的基本运算 */ #include #include #define MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize];
2015-09-18 08:33:57 462
原创 第二周项目2程序的多文件组织
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.11 *问题描述:程序的多文件组织 */ #include #define MaxStud 50 //学生人数最多为50 #define MaxCour 300 //学生成绩记录数最多为50*6 struct stud1 { int no; //学号
2015-09-11 08:44:33 460
原创 第二周项目1 C/C++语言中函数参数传递的三种方式
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.7 *问题描述:C/C++语言中函数参数传递的三种方式*/ #include void myswap(int x, int y) { int t; t=x; x=y; y=t; } int main() { int a, b; print
2015-09-07 17:21:18 512
原创 第二周项目0 第一篇博文
/* *文件名称:cpp.cpp *作者 :王超 *完成日期:2015.9.7 *问题描述:输出一句话 */ #include using namespace std; int main() { cout return 0; } 运行结果: 知识点总结: 巩固基本知识。 学习心得: 第一篇博文,开启博客之旅!
2015-09-07 16:48:50 536
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人