User profile: thanhquan1704

User info
User name:thanhquan1704
History
Joined:
Number of posts:16
Latest posts:

Loop
Here is my full function [code]void buildHuffmanTree(string text, map<char, int> freq) { int arr[10...

Loop
@ganado do you meant like this? [code]for (auto pair : huffmanCode) { for (size_t i = 0; i < huffma...

Loop
My actual project need to print like this [code] for (auto pair : huffmanCode) { cout << pair.firs...

Loop
How can I print 2 line like this to console? 1 11 2 12 3 13 4 14 5 15 6 ...

Huffman
[code]#include <iostream> #include <map> #include <fstream> struct huffman_node { int priority; ch...

This user does not accept Private Messages

User: thanhquan1704

  • Public profile