Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <fstream>
- #include <string>
- using namespace std;
- struct Reserv {
- string word;
- Reserv* next = nullptr;
- int count = 0;
- };
- class List {
- private:
- Reserv* Start;
- Reserv* End;
- public:
- List();
- ~List();
- void Print(std::ofstream& file2);
- void Add(std::string cur);
- void Read(std::ifstream& file1);
- Reserv* find(std::string cur);
- void Count(string* Array, int CountWord);
- void BubleSort();
- List InsertSort();
- };
- string* TextDivision(string input, int wordCount);
- string ReadText(std::ifstream& file3);
- int CountWord(string input);
Add Comment
Please, Sign In to add comment