word count exercise, initial commit
This commit is contained in:
parent
c252a1a93d
commit
59060755a5
5 changed files with 261 additions and 0 deletions
12
cpp/word-count/word_count.h
Normal file
12
cpp/word-count/word_count.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace word_count {
|
||||
|
||||
typedef std::map<std::string, size_t> Words;
|
||||
|
||||
Words words(const std::string&);
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue