word count: initial solution.
This commit is contained in:
parent
40834ece6e
commit
fb546d1f29
2 changed files with 67 additions and 3 deletions
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue