
----------封装
寂寂寂寂寂蝶丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
类对日期date的封装
类对日期date的封装 主函数 #include "stdafx.h" #include using namespace std; #include "Date.h" using namespace Space; int _tmain(int argc, _TCHAR* argv[]) { Date d(2008,8,8); if (d.isLeapYear())原创 2017-12-01 10:22:15 · 543 阅读 · 0 评论 -
类对链表(list)的封装
类对链表(list)的封装 主函数 #include "stdafx.h" #include using namespace std; #include "List.h" int _tmain(int argc, _TCHAR* argv[]) { List list; list.createList(); for (int i = 0; i < 10; i++)原创 2017-12-02 09:56:05 · 304 阅读 · 0 评论 -
类对栈实现的封装
类对栈实现的封装 主函数 #include "stdafx.h" #include "Stack.h" #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { Stack st; st.init(); for (char v = 'a'; !st.isFull() && v != 'z'+1;原创 2017-12-02 09:57:53 · 553 阅读 · 0 评论