From 9f61b59ca6ceb76cd634240d118f5771c0534f3d Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 20 Apr 2022 18:43:21 +0300 Subject: Added my work from todays exam --- Year 1/Object-oriented Programming/Exam 1/ex2/source.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Year 1/Object-oriented Programming/Exam 1/ex2/source.cpp (limited to 'Year 1/Object-oriented Programming/Exam 1/ex2/source.cpp') diff --git a/Year 1/Object-oriented Programming/Exam 1/ex2/source.cpp b/Year 1/Object-oriented Programming/Exam 1/ex2/source.cpp new file mode 100644 index 0000000..522ca39 --- /dev/null +++ b/Year 1/Object-oriented Programming/Exam 1/ex2/source.cpp @@ -0,0 +1,8 @@ +#include +#include "BookList.h" + +int main() { + BookList bookList; + bookList.readFromFile("library.dat"); + bookList.writePopularToFile("popular.txt"); +} -- cgit v1.3.1-23-gd82d