![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
继续微笑
这个作者很懒,什么都没留下…
展开
-
数据结构之 复数的四则运算
#include #include typedef struct Complex { float real; float image; }Complex; void CreatComplex(Complex& c,float a,float b); void AddComplex(Complex& sum,Complex c1,Complex c2 ); vo原创 2013-09-13 17:48:36 · 1241 阅读 · 0 评论 -
数据结构之复数的四则运算
#include #include typedef struct Complex { float real; float image; }Complex; Complex InitComplex(float a,float b) { Complex C; C.real=a; C.image=b; return C; }//创建复数 Complex Add(Comp原创 2013-10-17 23:56:33 · 3320 阅读 · 1 评论 -
数据结构之三元组的操作
#include #include #include #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 #define OVERFLOW -2 #define INFEASIBLE -1 #define ElemType int typedef int Status; typedef原创 2013-11-07 10:49:37 · 628 阅读 · 0 评论 -
数据结构之线性表的基本操作
#include #include #include #define ERROR 0 #define TRUE 1 #define OK 1 #define FALSE 0 #define FEASIBLE -1 #define OVERFLOW -2 #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 ty原创 2013-11-07 21:54:04 · 94 阅读 · 0 评论