Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <string>
- #include <vector>
- #include <iostream>
- #include "Text.h"
- class Language
- {
- private:
- std::string name;
- char code[2];
- std::vector<Text> content;
- public:
- Language();
- Language(char[2], std::string);
- Language(char code[2], std::string name, std::vector<Text> content);
- std::string getText(std::string);
- int findText(std::string, bool = false);
- void setText(std::string, const int index);
- };
Advertisement
Add Comment
Please, Sign In to add comment