2015年12月29日

摘要: 下面程序演示了队列FIFO和栈LIFO的行为// fifolifo.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include #include using namespace std;int _tmain(int argc... 阅读全文
posted @ 2015-12-29 23:21 抽筋的马 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 以下程序示范了链表插入和删除的操作// lst2.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include using namespace std;class List;class Iterator;class Node ... 阅读全文
posted @ 2015-12-29 18:06 抽筋的马 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 链表添加元素,然后插入、删除、最后遍历#include "stdafx.h"#include #include #include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ list staff; staff.pus... 阅读全文
posted @ 2015-12-29 15:00 抽筋的马 阅读(244) 评论(0) 推荐(0) 编辑

导航