Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STOREINFO_H
- #define STOREINFO_H
- #include <string>
- using namespace std;
- // Global enum so it doesnt have to be scoped all over the place
- typedef enum TaxCategory { alcohol, food, genMerchandise, medicine } TaxCategory;
- struct GrListItem{
- public:
- string name;
- int quantity;
- float regPrice;
- float salePrice;
- bool onSale;
- TaxCategory taxCategory;
- // Receipt information
- string storeName;
- string storeAddress;
- };
- class GrItem{
- public:
- // Constructor
- GrItem(string, int, float, float, bool, TaxCategory);
- GrItem();// Default constructor
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment