about summary refs log tree commit diff
path: root/usth/ICT2.2/labwork/3/C++/name-card.h
blob: 08e76a724c111bf799373b76246e662328974fd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <string>

using namespace std;

class NameCard
{
  string name;
  string phone;
  string email;
public:
  string get_name () { return name; }
  string get_phone () { return phone; }
  string get_email () { return email; }
  void set_name (string);
  void set_phone (string);
  void set_email (string);
  NameCard (string, string, string);
};