Quixotic
Quixotic

Reputation: 2464

Text compression in C or C++

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 languages,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?

Upvotes: 1

Views: 3609

Answers (1)

selbie
selbie

Reputation: 104599

Go download zlib. Use the deflate functions.

Upvotes: 4

Related Questions