Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #define _CRT_SECURE_NO_WARNINGS
- #include <iostream>
- #include <vector>
- #include <string>
- #include <time.h>
- #include "Customer.h"
- #include "Campaign.h"
- class AdServingEngine
- {
- vector<Customer> allCustomers;
- vector<Campaign> allActiveCampaigns;
- float activeCampaignCostTotal;
- int activeCampaignCount;
- public:
- void AddCustomer(string name, int idIndex);
- Ad GetNextAd();
- vector<Customer> GetListOfCustomer();
- Customer* GetCustomer(int index);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement