Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef WORD_CONTAINER
- #define WORD_CONTAINER
- #include <iostream>
- #include <vector>
- #include <map>
- class Word_Container
- {
- public:
- Word_Container(std::string& file_name, std::string& argument, int number = 0);
- void Print();
- private:
- std::string text_document;
- std::string argument;
- std::vector<std::string> words;
- unsigned longest_word_length;
- unsigned longest_number;
- int number;
- bool Check_Word(std::string &ord);
- void Read_Words();
- void Make_Map(std::map<std::string, int> &final);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement