?? priorityqueue.h
字號(hào):
#ifndef PRIORITYQUEUE
#define PRIORITYQUEUE
template<class T>class priorityQueue
{
public:
virtual void add(T value)=0;
T deleteMin();
virtual int isEmpty()const=0;
virtual T min()const=0;
virtual void removeMin()=0;
};
template<class T>T priorityQueue<T>::deleteMin()
{
T result=min();
removeMin();
return result;
}
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -