LISTTEST.CPP
资源名称:C++100.rar [点击查看]
上传用户:wszmarenbt
上传日期:2013-04-26
资源大小:2552k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- //THIS PROGRAM IS TO TEST THE USES OF CLASS "LIST"
- //FILE LISTTEST.CPP
- #include <conio.h>
- #include "BILIST.H"
- int main(void)
- {
- LIST TEST;
- int BUFFER;
- BUFFER=4;
- TEST.Build_HT(BUFFER);
- BUFFER=5;
- TEST.Build_HT(BUFFER);
- BUFFER=6;
- TEST.Build_HT(BUFFER);
- BUFFER=3;
- TEST.Build_TH(BUFFER);
- BUFFER=2;
- TEST.Build_TH(BUFFER);
- BUFFER=1;
- TEST.Build_TH(BUFFER);
- clrscr();
- TEST.DISPLAY_HT();
- TEST.DISPLAY_TH();
- printf("nnPress any key to EXIT... ...");
- getch();
- return 0;
- }