-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFilm.h
46 lines (42 loc) · 1.08 KB
/
Film.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include<iostream>
#include<iomanip>
#include<string>
#include"DoHoa.h"
#pragma once
using namespace std;
class Film
{
private:
string maPhim;
string tenPhim;
string theLoai;
string thoiLuong;
string daoDien;
string dienVien;
string namCongChieu;
string quocGia;
public:
Film(string = "Unknown", string = "Unknown", string = "Unknown", string = "Unknown", string = "Unknown", string = "Unknown", string = "Unknown", string = "Unknown");
void setMaPhim(string);
void setTenPhim(string);
void setTheLoai(string);
void setThoiLuong(string);
void setDaoDien(string);
void setDienVien(string);
void setNamCongChieu(string);
void setQuocGia(string);
string getMaPhim();
string getTenPhim();
string getTheLoai();
string getThoiLuong();
string getDaoDien();
string getDienVien();
string getQuocGia();
string getNamCongChieu();
void Display();
void Display2();
~Film();
//da nang hoa
friend ostream& operator<<(ostream&, const Film&);
friend istream& operator>>(istream&, Film&);
};