generated from mcmarius/oop-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPachetPromo.cpp
45 lines (40 loc) · 2.71 KB
/
PachetPromo.cpp
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
//
// Created by thege on 18.12.2021.
#include "PachetPromo.h"
//promoCarti::promoCarti(const string &nume, int reducere, const string &serie, const string &tipCover) : nume(nume),
// reducere(reducere),
// serie(serie),
// tip_cover(tipCover) {}
//promoVinyl::promoVinyl(const string &nume, int reducere, const string &album, const string &gen, const string &artist) : nume(nume),
// reducere(reducere),
// album(album),
// gen(gen),
// artist(artist) {}
//
//promoManga::promoManga(const string &nume, int reducere, const string &serie, const string &gen, const string &tipCover) : nume(nume),
// reducere(reducere),
// serie(serie),
// gen(gen),
// tip_coperta(tipCover) {}
//
//
//std::ostream &operator<<(std::ostream &os, const promoCarti &promoC) {
// os << "Numele promotiei: " << promoC.nume << ", Reducere pachet: " << promoC.reducere << "%"
// << ", Serie inclusa: " << promoC.serie << ", Tip Cover: "
// << promoC.tip_cover << std::endl;
// return os;
//
//
//}
//
//std::ostream &operator<<(std::ostream &os, const promoVinyl &promoV) {
// os << "Numele promotiei : " << promoV.nume << ", Reducere pachet: " << promoV.reducere << "%"<< ", Albumul inclus: " << promoV.album << ", Genul: "
// << promoV.gen << ", Artistul/Trupa: "<<promoV.artist << std::endl;
// return os;
//}
//
//std::ostream &operator<<(std::ostream &os, const promoManga &promoM) {
// os << "Nume Manga: " << promoM.nume << ", Reducere pachet: " << "%" <<promoM.reducere << " Serie: " << promoM.serie << ", Gen: "
// << promoM.gen << ", Tipul Copertei: " << promoM.tip_coperta << std::endl;
// return os;
//}