No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi every body... this(attachment) is my code for implemention of Huffman code,this code must read every file and compress them, it works on many test file but if I input test.txt it give an Error... How can i solve this error ... and the next problem is if we input … |
|
Hi Guys.. I have a problem in tellg() function.. When I open file in Binary mode , It returns true value,but when I open in default mode it returns false value.I can't understand what has happened ...(the problem is in this code) : [CODE] for(int t=1;t<size;t++){ char ch=input.get(); codes_list[t].symbol=list[t].symbol=ch; input>>list[t].q; … |
|
Hi guys.. In the huffman algorithm I have made an output file contain 0 and 1.. how can I say to compiler that these 1 and zero are bit no Byte. and how can i make the real Huffman output that its size is lesser than the initial file, What … |
|
Hello all, I have registerd lately, we have a project about the implemention of huffman algorithm...! I have some problem... first is that I want to read space and Enter from txt file how can i do that? Next is how i should output to say that 0 and 1 … |