EmptyVoid

Untitled

May 21st, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #pragma once
  2. #include <string>
  3. class Text
  4. {
  5. private:
  6.     std::string name;
  7.     std::string text;
  8. public:
  9.     std::string getName();
  10.     void setName(std::string);
  11.  
  12.     std::string getText();
  13.     void setText(std::string);
  14. };
Advertisement
Add Comment
Please, Sign In to add comment