⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hdecompress.cpp

📁 这是数据结构和算法的国外经典书籍.清华大学出版社出版的<数据结构C++语言描述-应用模板库STL>陈君 译 英文名称是Data Structures with C++ Using STL.
💻 CPP
字号:
// File: hdecompress.cpp
// the program demonstrates Huffman decompression.
// after prompting for the name of the compressed
// file and the name for the decompressed file,
// an object of type hDecompress is declared, and
// the member function decompress() decompresses
// the file

#include <string>

#include "d_hdcomp.h"

using namespace std;

int main()
{
	string compFile, ucompFile;

	// prompt for the name of the compressed file and the
	// name for the decompressed file
	cout << "Compressed file name: ";
	cin >> compFile;
	cout << "Name for uncompressed file: ";
	cin >> ucompFile;

	hDecompress dcomp(compFile, ucompFile);

	// uncompress the file
	dcomp.decompress();

	return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -