word count: initial solution.

This commit is contained in:
Dmitry Kokorin 2016-02-22 00:14:01 +03:00
parent 40834ece6e
commit fb546d1f29
2 changed files with 67 additions and 3 deletions

View file

@ -1,5 +1,8 @@
#pragma once
#define EXERCISM_RUN_ALL_TESTS
#include <locale>
#include <map>
#include <string>
@ -7,6 +10,6 @@ namespace word_count {
typedef std::map<std::string, int> Words;
Words words(const std::string&);
Words words(const std::string&, const std::locale &loc = std::locale());
}