int main() { // Get syms from an input message std::vector<Symbol> symbols = toSymbols(toBits(promptMessage())); // Print out for (int i = 0; i < symbols.size(); i++) { std::cout << symbols[i].expo << std::endl; } return 0; }
inline void appendSymbols(InStrings const& symStrs, OutSymbols& o, IVocabularyPtr const& voc) { toSymbols(symStrs, std::back_inserter(o), voc); }