hufdecomp.cpp

来自「数据结构课程设计的一些源代码!」· C++ 代码 · 共 32 行

CPP
32
字号
// 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 "HDecomp.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 << "压缩文件名称: ";	cin >> compFile;	cout << "解压缩目标文件名称: ";	cin >> ucompFile;	HDecompress dcomp(compFile, ucompFile);	// 解压缩文件	dcomp.decompress();	system("pause");	return 0;}

⌨️ 快捷键说明

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