自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 数据结构期末课程设计

数据结构课程设计实验报告 实训目的 通过课程设计,学会运用数据结构知识,针对具体应用,自己设计合理数据结构,确定存储结构,并能设计具体操作算法,选择使用具体语言进行实现。掌握C++较复杂程序的组织和设计过程,调试技巧。学习解决实际问题的能力。 实训环境 计算机windows xp或其它版本,VC6.0或更高版本,或其它语言环境。 一、问题描述 题目0.GDOU是真是一个好地方,校园如一

2015-01-10 20:36:04 2311 4

原创 实验3

字符串,二维数组(输入文本,统计文本单词个数) include  using namespace std; int strlen(char *s) { char *p=s; int count=1; while(*p!='\0') { p++; if (*p==' '&&*(p+1)!=' '&&*(p+1)!='\0') count++; } return count;

2014-11-16 16:30:26 564 1

原创 列队列验证实验

头文件: #ifndef LinkQueue_H #define LinkQueue_H template

2014-10-28 22:37:07 1213 1

原创 顺序栈验证实验

#ifndef SeqStack_H #define

2014-10-28 21:49:28 946 1

原创 链栈

template class linkstack {  public:   linkstack(){top=NULL;}   ~linkstack();   void push(DataType x);   DataType pop();   DataType gettop(){if(top!=NULL)return top->data;}   int empty(){top=

2014-10-25 09:35:45 510 1

原创 双链表

#include template class Dlinklist { public:  Dlinklist();  Dlinklist(int a[],int n);  ~Dlinklist();  DataType Get(int i);  void insert(int i,int x);  int Delete(int i);  void Printlist();

2014-10-22 13:19:02 588 1

原创 顺序栈

const int stacksize=10; template class seqstack {  public:   seqstack(){top=-1;}   ~seqstack(){}   void push(DataType x);   DataType pop();   DataType gettop(){if(top!=-1)return data[top];}

2014-10-20 13:39:01 523 1

原创 顺序表和单链表代码

头文件: #ifndef seqlist_H #define seqlist_H const int Maxsize=100; template class seqlist { public: seqlist(){length=0;} seqlist(DataType a[],int n); ~seqlist(){}   DataType Get(int i); int 

2014-10-17 09:16:48 723 1

原创 作业

#include  class test  {   double x; double y; public: test(double a,double b); test(double A);   }; test::test(double a,double b) { x=a+b;         y=a*b; } test::test(double A ) { co

2014-09-25 00:31:37 524 1

原创 数据结构

2014-09-19 00:28:14 529 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除