-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinventory.cpp
More file actions
executable file
·33 lines (26 loc) · 998 Bytes
/
inventory.cpp
File metadata and controls
executable file
·33 lines (26 loc) · 998 Bytes
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
//
// MovieRentalStore.cpp
// hw4
//
// Created by Iris Favoreal on 3/10/18.
// Copyright © 2018 Iris Favoreal. All rights reserved.
//
#include "inventory.h"
Inventory::Inventory(){}
Inventory::Inventory(vector<BST<Movie*> >& movies) : Action()
{
// printMovies = movies;
// execute();
cout << "----------------------------- INVENTORY ------------------------------" << endl << endl;
for(vector<BST<Movie*> >::iterator it = movies.begin(); it != movies.end(); it++)
it->print();
cout << "-------------------------------------------------------------------" << endl << endl;
}
Inventory::~Inventory(){}
void Inventory::execute()
{
// cout << "----------------------------- INVENTORY ------------------------------" << endl << endl;
// for(vector<BST<Movie*> >::iterator it = printMovies.begin(); it != printMovies.end(); it++)
// it->print();
// cout << "-------------------------------------------------------------------" << endl << endl;
}