Lixard

lab6_class.h

Apr 25th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.83 KB | None | 0 0
  1. #include <string>
  2. #include <vector>
  3. #pragma once
  4.  
  5. class Cars
  6. {
  7. private:
  8.     std::string model;
  9.     std::string gosnomer;
  10.     std::string familiya;
  11.     std::string color;
  12.     int max_speed;
  13.     int places;
  14.     int lps;
  15. public:
  16.     Cars();
  17.     Cars(std::string, std::string, std::string, std::string, int, int, int);
  18.     Cars(const Cars&);
  19.     void get_all();
  20.     void get_model();
  21.     void get_gosnomer();
  22.     void get_familiya();
  23.     void get_color();
  24.     void get_max_speed();
  25.     void get_places();
  26.     void get_lps();
  27.     void set_all();
  28.     void set_model();
  29.     void set_gosnomer();
  30.     void set_familiya();
  31.     void set_color();
  32.     void set_max_speed();
  33.     void set_places();
  34.     void set_lps();
  35.     void msoversmth(std::vector<Cars>&);
  36.     void mestaoversmth(std::vector<Cars>&);
  37.     static void int_check(int&);
  38.     void palki();
  39.     bool equal(const std::string&, const std::string&);
  40.     ~Cars();
  41. };
Add Comment
Please, Sign In to add comment