数据结构
烟杨绿未成
在时光的夹缝里慢慢沉淀自己。
展开
-
复数的抽象数据类型实现(指针)
摘要:C语言 数据结构原创 2017-10-28 11:12:24 · 2531 阅读 · 0 评论 -
复数的抽象数据类型实现(引用参数)
摘要:C语言 数据结构 抽象数据类型 顺序结构 正文:用C语言来进行复数的抽象数据类型实现,代码如下: #include #include typedef struct Complex { float real; float image; }Complex; int lnitComplex(Complex &C,float vr,float vi) { C.real=vr;原创 2017-10-28 11:00:51 · 5326 阅读 · 0 评论 -
电话号码查询系统(链式结构)
摘要:C/C++ 数据结构 正文:用链式结构来实现电话号码查询系统,程序如下: #include #include #include #include #include using namespace std; typedef struct Node { char name[10]; char phoneNumber[12]; struct Node *n原创 2017-10-31 09:03:40 · 2935 阅读 · 0 评论