what is the greedy choice property of Huffman code ?
what is the greedy choice property of Huffman code ?
What's a decent topic title?
How To Ask Questions The Smart Way
What's STFW?
How To Ask Questions The Smart Way
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
oh come on please some one answer this question.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I could have done it better than that
But you didn't even do that.Originally Posted by 4eFFWNW
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
And what exactly does all of this have to do with C programming?
1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
3. Get rid of conio.h and other antiquated DOS crap headers.
4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.
> And what exactly does all of this have to do with C programming?
None at all - moved.
I would have moved it to the tech board, had it any redeeming value.
But it doesn't, so it's in the GD area now.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.