已采纳回答 / 暗夜公爵yk
#include "MyQueue.h"#include <iostream>using namespace std;MyQueue::MyQueue(int queueCapacity){ int m_iQueueCapacity=queueCapacity; //队列数组容量 ClearQueue(); m_pQueue=new int[m_iQueueCapacity];}MyQueue::~MyQueue(){ delete []m_pQueue; m_pQueue=NULL;}voi...
2016-10-18