编程新手:如何编写自己的数据通信pression算法?自己的、数据通信、算法、新手

2023-09-11 04:37:08 作者:小鬼跟紧我.

这是夏天了,所以我决定把它在我自己在C code pferably写一个数据COM pression程序,$ P $。我有一个如何COM pression工作体面的初学者理解。我只是有几个问题:

1)会c是一个适当的编程语言来完成此任务问题 2)如果我是一个字节的工作与输入文件?或者在二进制级别不知何故?

如果有人可以只给我正确的方向轻推,我真的AP preciate它。我想然而,code此我自己,而不是使用pre-现有的COM pression库之类的东西。

解决方案   

1)会c是一个适当的编程语言来完成此任务

是的。

  

2)我应该是字节的工作与输入文件?或者在二进制级别不知何故?

他们是一样的,所以这个问题是没有意义的。

  

不使用pre-现有的COM pression库

您可以用pre-现有的COM pression算法?有几十个COM pression算法 - 与谷歌使用时 - 将揭示了大量有用的信息

从零开始学习大数据挖掘分析

It is summer, and so I have decided to take it upon myself to write a data-compression program, preferably in C code. I have a decent beginners understanding of how compression works. I just have a few questions:

1) Would c be a suitable programming language to accomplish this task? 2) Should I be working in byte's with the input file? Or at a binary level somehow?

If someone could just give me a nudge in the correct direction, I'd really appreciate it. I would like to code this myself however, and not use a pre-existing compression library or anything like that.

解决方案

1) Would c be a suitable programming language to accomplish this task?

Yes.

2) Should I be working in byte's with the input file? Or at a binary level somehow?

They're the same, so the question makes no sense.

not use a pre-existing compression library

Can you use a pre-existing compression algorithm? There are dozens and "compression algorithm" -- when used with Google -- will reveal a great deal of helpful information.