Guest User

Untitled

a guest
Jul 20th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. /************************
  2. DataStruct.h
  3. *************************
  4. 2009 D. Starkowski
  5. ************************/
  6. #pragma once
  7.  
  8. #include <string>
  9. using std::string;
  10. using std::getline;
  11.  
  12. #include "defs.h"
  13.  
  14. struct cBook {
  15. UINT iID;
  16. string sTitle;
  17. string sAuthor;
  18. UINT iCount;
  19. UINT iAvilable;
  20. };
  21.  
  22. struct cClient {
  23. UINT iID;
  24. string sForename;
  25. string sSurname;
  26. UINT iBooks;
  27. };
  28.  
  29. struct cRent {
  30. UINT iID;
  31. UINT iBook;
  32. UINT iClient;
  33. UINT iYear;
  34. UINT iMonth;
  35. UINT iDay;
  36. };
  37.  
  38. struct cHistory {
  39. string sBook; // Tytuł (Autor);
  40. string sClient;// Imie Nazwisko
  41. UINT iRentYear;
  42. UINT iRentMonth;
  43. UINT iRentDay;
  44. UINT iReturnYear;
  45. UINT iReturnMonth;
  46. UINT iReturnDay;
  47. };
  48. //;
Add Comment
Please, Sign In to add comment