我可以在 Turbo C 中使用 dll吗?程序以及我们是否有用于 lzw 压缩和解压的 dll
我试图创建一个 lzw 压缩程序。但我需要在今天完成它,所以我想使用一些 dll 将我的输入作为 txt 文件并输出为文本文件。我想在 TURBO C++ 代码中执行此操作,该代码正在执行我剩余的功能。 谁能建议我一些方法。
I was trying to create a lzw compression program. But i need to finish it by today itself so i want to use some dll for taking my input as txt file and output to as a text file. I want to do this in TURBO C++ code which are doing my remaining functionalities.
Can anyone suggest me some method.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Libzip 不是 LZW(它使用通常更好的算法),但它可能是最好的标准答案。我不知道标准位置是否有可下载的 DLL,因此您可能必须从源代码编译它。
或者,通过 Google 搜索(关于“lzw 压缩 dll”)找到了用于执行 LZW 压缩的 C++ 源代码,您可以使用它: http://zabkat.com/blog/24Jan10-lzw-compression-code.htm
Libzip isn't LZW (it uses an algorithm that's generally better), but it is probably the best standard answer. I don't know if there's a downloadable DLL for it in a standard location, so you might have to compile it from source.
Alternatively, a bit of Google-searching (on "lzw compression dll") found this C++ source code for doing LZW compression, which you may be able to use: http://zabkat.com/blog/24Jan10-lzw-compression-code.htm
这是一个老问题。
您仍然可以查看旧 Simtel 档案中的 LHArc 源代码。在获得 Compuserve 专利之前,LZW 算法已有一个实现。
this is an oldie question.
You can still look around the LHArc sources on the old Simtel archives. There's an implementation of LZW algorithm before it was patented by Compuserve.