Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /************************
- DataStruct.h
- *************************
- 2009 D. Starkowski
- ************************/
- #pragma once
- #include <string>
- using std::string;
- using std::getline;
- #include "defs.h"
- struct cBook {
- UINT iID;
- string sTitle;
- string sAuthor;
- UINT iCount;
- UINT iAvilable;
- };
- struct cClient {
- UINT iID;
- string sForename;
- string sSurname;
- UINT iBooks;
- };
- struct cRent {
- UINT iID;
- UINT iBook;
- UINT iClient;
- UINT iYear;
- UINT iMonth;
- UINT iDay;
- };
- struct cHistory {
- string sBook; // Tytuł (Autor);
- string sClient;// Imie Nazwisko
- UINT iRentYear;
- UINT iRentMonth;
- UINT iRentDay;
- UINT iReturnYear;
- UINT iReturnMonth;
- UINT iReturnDay;
- };
- //;
Add Comment
Please, Sign In to add comment