摘要: 有过对STL的栈练习,当然就少不了队列了看一下题目总体要求BackgroundFrom store-and-forward queues in network routers to the facilitation of breadth-first searches in graph algorithms, queues have many important applications in Computer Science and Information Technology. One such application can be found in a policy used by net 阅读全文
posted @ 2013-04-18 22:43 强子~Developer 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 这个题主要考察对继承的掌握还有动态存储和异常处理按照步骤一步步来做这个题Extract the archive to retrieve the files needed to complete this assessment我们得到LinkedList.h,我还给了相应的注释#ifndef _LINKEDLIST_H_#define _LINKEDLIST_H_#include <stdexcept>/* * 作者:白强 * 日期:2013/4/18 * 这是题目给的一个数据结构实现 * 它可以在链尾或链头插入和删除元素 * virtual void push_front(T); 阅读全文
posted @ 2013-04-18 00:59 强子~Developer 阅读(507) 评论(0) 推荐(0) 编辑