c code for compression - TechRepublic
General discussion
January 14, 2002 at 08:05 PM
shanghai sam

c code for compression

by shanghai sam . Updated 24 years, 5 months ago

algorithm:

take the first eight bits of a data & check its matching for
(eg:data 10011101)
1)ones complement 01100010
2)twos complement 01100011
3)original match 10011101
4) matches for above three taken inreverse order 1=> 01000110
2=> 11000110
3=> 10111001

the code should be in c. madhu

This discussion is locked

All Comments