I Am Working On A Project Related To Data Compression Using Huffmann Algorithm In C Language..........i Have Generated The Huffmann Codes Using Huffmann Tree.........but The Project Is Yet To Be Completed As I Don`t Know How To Store The Codes In Bits.............i Have Just Learned C.
We Have To Submit The Project By 28 Th Feb............so Expecting A Quick Response...............
AMARJEET DUA
-2
Newbie Poster
Recommended Answers
Jump to PostWhat do you know about working with bits? Do you know how to set them and shift them?
Jump to PostUsually you will have yourself a little function that takes a specific number of bits (let's say just one bit at a time for each branch in the tree).
The function will modify a static "bits" variable (say, one byte) by shifting in the new bit, and incrementing another …
All 6 Replies
Narue
5,707
Bad Cop
Team Colleague
Duoas
1,025
Postaholic
Featured Poster
AMARJEET DUA
-2
Newbie Poster
Aia
1,977
Nearly a Posting Maven
AMARJEET DUA
-2
Newbie Poster
Dave Sinkula
commented:
If you want to brush off a good percentage of people who might post answers, and a high percentage of the better answers, then continue to ignore sound advice in this fashion.
-2
Narue
5,707
Bad Cop
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.