Advertisement
koodeta

StoreInfo.h

May 8th, 2014
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #ifndef STOREINFO_H
  2. #define STOREINFO_H
  3. #include <string>
  4. using namespace std;
  5.  
  6. struct GrListItem{
  7. public:
  8.     string name;
  9.     int quantity;
  10.     float regPrice;
  11.     float salePrice;
  12.     bool onSale, isOnSale;
  13.     typedef enum taxCategory { alcohol, food, genMerchandise, medicine } taxCategory;
  14.  
  15.     // Receipt information
  16.     string storeName;
  17.     string storeAddress;
  18. };
  19.  
  20. class GrItem{
  21. public:
  22.     // Constructor
  23.     GrItem(string, int, float, float, bool, enum GrListItem::taxCategory);
  24.     GrItem();// Default constructor
  25.  
  26. };
  27. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement