[C ++]将流结果导出为.ZIP文件 [英] [C++] exporting ofstream results as a .ZIP file
本文介绍了[C ++]将流结果导出为.ZIP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个程序,它接受用户输入,将其置于某种格式,然后将其输出到设置层次结构中的不同格式的文件中。我希望程序能够在即用型包中压缩文件夹。我怎么做到这一点?
我尝试过:
我已经浏览了整个互联网,但没有结果。
I have a program which takes user input, puts it in a certain format, then outputs it into files of different formats in a set hierarchy. I want the program to be able to zip the folders in a ready-to-use package. How would I achieve this?
What I have tried:
I have looked all over the internet, but no result.
推荐答案
这里有一些有关7-zip的信息。
使用命令行工具压缩您的书面文件。
Here is some information about 7-zip.
Use the command line tool for compressing your written files.
这篇关于[C ++]将流结果导出为.ZIP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文