Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #pragma once
  2. #define _CRT_SECURE_NO_WARNINGS
  3. #include <iostream>
  4. #include <vector>
  5. #include <string>
  6. #include <time.h>
  7.  
  8. #include "Customer.h"
  9. #include "Campaign.h"
  10.  
  11.  
  12. class AdServingEngine
  13. {
  14. vector<Customer> allCustomers;
  15. vector<Campaign> allActiveCampaigns;
  16. float activeCampaignCostTotal;
  17. int activeCampaignCount;
  18.  
  19. public:
  20. void AddCustomer(string name, int idIndex);
  21. Ad GetNextAd();
  22. vector<Customer> GetListOfCustomer();
  23. Customer* GetCustomer(int index);
  24. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement