Compression text always gives me troubles if I have to do in C or C++ as there no inbuilt library is available by default unlike python and other lan开发者_如何学Goguages,So I want to know what is the approach to be followed for text compression in these languages.
For an example consider this text,now which algorithm or method I should be used to compress this text and to get a very short possibly solution?
Go download zlib. Use the deflate functions.
精彩评论