2017年3月30日

广义表的实现(法二)

摘要: #include #include using namespace std; enum elemTag {ATOM,LIST}; class GList; class GLnode { private: elemTag Tag; //标志是原子还是子表 0:原子 1:子表 union { char data; //原子结点值域 st... 阅读全文

posted @ 2017-03-30 21:40 ewitt 阅读(506) 评论(0) 推荐(0)

广义表的实现

摘要: /*--------------------------------------------------------------------- 广义表的存储结构 ---------------------------------------------------------------------*/ #include #include typedef char ElemTy... 阅读全文

posted @ 2017-03-30 21:37 ewitt 阅读(2666) 评论(0) 推荐(0)

导航