摘要:
#include "mystack.h"
#include <iostream>
using namespace std; char get_command()
{
char command;
bool waiting = true;
cout << "Select command and press <ENTER> : ";
while (waiting){ cin >> command; if (command == '?' || command == '=' || co 阅读全文
posted @ 2011-12-13 23:14
xxx1
阅读(187)
评论(0)
推荐(0)
摘要:
//Node.h typedef int Node_entry; typedef int Node_entry;
enum Error_code {success, overflow, underflow, rangeError};
template <class Node_entry>
struct Node { Node_entry entry; Node<Node_entry> *next; Node(); Node(Node_entry item, Node<Node_entry> *link = NULL);
}; template <cla 阅读全文
posted @ 2011-12-13 23:12
xxx1
阅读(799)
评论(0)
推荐(0)

浙公网安备 33010602011771号