Skip to main content

Timeline for Huffman Code in C++

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
May 8, 2019 at 9:18 comment added yuri @StevanMilic still get the wrong output Can you elaborate on this? Did your program ever run correctly to the best of your knowledge?
May 8, 2019 at 4:27 comment added Stevan Milic @yuri Thank you very much for your answer, I tried to correct the mistakes you wrote but somehow I still get the wrong output. It seems like I have a logic error in my code and I can't figure it out.
May 6, 2019 at 12:57 comment added Vincent Savard @jwenting How is the character \n related to C at all? How is std::endl correct when it has side-effects which are not desirable here?
May 6, 2019 at 11:23 comment added jwenting you complain it looks to "C-ish" but also that he uses the correct std::endl over the very C-ish \n. Make up your mind :)
May 5, 2019 at 22:43 vote accept Stevan Milic
May 5, 2019 at 10:15 comment added klutt "Not everyone knows this defaults to int." - People not knowing that should not touch others code anyway.
May 5, 2019 at 9:02 comment added Deduplicator 1. It doesn't matter if the #define is in a namespace, as it doesn't respect them anyway. 2. Nobody who needs unsigned int spelled out can legitimately claim even passing familiarity with C++, so they should not be the target audience. 3. return 0; can always be omitted from main(), but nowhere else.
May 5, 2019 at 8:55 history answered yuri CC BY-SA 4.0