优先级队列  0.1
数据结构_第7章
test0.cc File Reference

优先级队列基本测试代码 More...

#include "BinaryHeap.h"
#include <cstdlib>
#include <ctime>
#include <fstream>
Include dependency graph for test0.cc:

Go to the source code of this file.

Functions

int main (int argc, char const *argv[])
 测试程序 More...
 

Detailed Description

优先级队列基本测试代码

Author
Guorui Wei (31301.nosp@m.7602.nosp@m.@qq.c.nosp@m.om)
Version
0.1
Date
2020-07-04

See the file LICENSE in the top directory of this distribution for more information.

Definition in file test0.cc.

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

测试程序

Parameters
argc参数个数
argv参数数组
Returns
int 返回值
Warning
要求.exe对其所在的目录有读写权限

部分测试结果将输出到一个文本文档中

Definition at line 28 of file test0.cc.

References List::seqList< T >::push_back(), Queue::BinaryHeap< Comparable, Compare >::top(), and List::seqList< T >::traverse().

Here is the call graph for this function: