摘要:
下面程序演示了队列FIFO和栈LIFO的行为// fifolifo.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include #include using namespace std;int _tmain(int argc... 阅读全文
摘要:
以下程序示范了链表插入和删除的操作// lst2.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include using namespace std;class List;class Iterator;class Node ... 阅读全文
摘要:
链表添加元素,然后插入、删除、最后遍历#include "stdafx.h"#include #include #include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ list staff; staff.pus... 阅读全文