koodeta

Untitled

May 5th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. /*
  2. Name: Dan Frese
  3. Date: 5/2/2014
  4. File: StoreInfo.h
  5. Description: Hold header information for GrItem.cpp.
  6.  
  7. */
  8.  
  9. #ifndef STOREINFO_H
  10. #define STOREINFO_H
  11. #include <string>
  12. using namespace std;
  13.  
  14. struct GrListItem{
  15. public:
  16. string name;
  17. int quantity;
  18. float regPrice;
  19. float salePrice;
  20. bool onSale;
  21. typedef enum taxCategory { alcohol, food, genMerchandise, medicine } taxCategory;
  22.  
  23. // Receipt information
  24. string storeName;
  25. string storeAddress;
  26. };
  27.  
  28. class GrItem{
  29. public:
  30. // Constructor
  31. GrItem(string, int, float, float, bool, enum GrListItem::taxCategory);
  32. GrItem();// Default constructor
  33.  
  34. };
  35. #endif
Advertisement
Add Comment
Please, Sign In to add comment