Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 C++ 中的最终输出数据作为字符串获取.....需要以 gzip 格式压缩该数据。有人可以告诉我如何实现它吗?
使用zlib。它可能已经在您的开发环境中可用。(出于某种原因,您在问题中保守秘密。)