yinusxxxx

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  数据结构与算法分析with C艹

摘要:// // Created by yinus on 2016/4/2. // #ifndef DS_AA_VECTOR_H #define DS_AA_VECTOR_H #include template class Vector { private: int theSize; int theCapacity; Object *objects; public: ... 阅读全文
posted @ 2016-04-06 11:28 yinusxxxx 阅读(187) 评论(0) 推荐(0)

摘要:// // Created by yinus on 2016/4/2. // #ifndef DS_AA_QUEUE_H #define DS_AA_QUEUE_H #include "List.h" template class Queue { public: Queue():list(){} ~Queue(){} bool empty()const { ... 阅读全文
posted @ 2016-04-02 20:15 yinusxxxx 阅读(115) 评论(0) 推荐(0)

摘要:// // Created by yinus on 2016/4/2. // #ifndef DS_AA_STACK_H #define DS_AA_STACK_H #include "List.h" template class Stack { public: Stack():list() { } ~Stack(){} bool empty() const{ ... 阅读全文
posted @ 2016-04-02 19:16 yinusxxxx 阅读(182) 评论(0) 推荐(0)

摘要:1 // 2 // Created by yinus on 2016/4/2 3 // 4 #ifndef DS_AA_LIST_H 5 #define DS_AA_LIST_H 6 #include 7 using std::ostream; 8 template 9 class L... 阅读全文
posted @ 2016-04-02 18:54 yinusxxxx 阅读(190) 评论(0) 推荐(0)