Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Word::obtainCountedWords(std::vector<std::pair<std::string, std::string>> container)
- {
- for (auto it : container)
- {
- for (auto it2 : countedContainer)
- {
- if (std::get<0>(it2) == it.first)
- {
- std::get<2>(it2)++;
- continue;
- }
- else
- {
- //countedContainer.push_back(make_tuple(it.first, it.second, 0));
- }
- if(it2. == countedContainer.end() - 1)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement