Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char author[100];
- cout << "Autor: ";
- cin.getline(author, 100);
- char title[300];
- cout << "Tytul: ";
- cin.getline(title, 300);
- unsigned int year;
- cout << "Rok: ";
- cin >> year;
- unsigned int edition;
- cout << "Numer wydania: ";
- cin >> edition;
- char publisher[100];
- cout << "Wydawca: ";
- cin.getline(publisher, 100);
- unsigned int pages;
- cout << "Liczba stron: ";
- cin >> pages;
- char genre[100];
- cout << "Gatunek: ";
- cin.getline(genre, 100);
- char description[2000];
- cout << "Opis ksiazki: ";
- cin.getline(description,2000);
- lib.AddBook(Book(author, title, year, edition, publisher, pages, genre, description));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement