From 24bdf39e6c21ab846f6c86803761d78a094e05c0 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 26 May 2022 20:31:26 +0300 Subject: Added files from project 1 (mirror) --- .../Project 1/docs/html/index.html | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 Year 1/Object-oriented Programming/Project 1/docs/html/index.html (limited to 'Year 1/Object-oriented Programming/Project 1/docs/html/index.html') diff --git a/Year 1/Object-oriented Programming/Project 1/docs/html/index.html b/Year 1/Object-oriented Programming/Project 1/docs/html/index.html new file mode 100644 index 0000000..ae068ae --- /dev/null +++ b/Year 1/Object-oriented Programming/Project 1/docs/html/index.html @@ -0,0 +1,126 @@ + + + + + + + +FMI Ticket System: FMI Tickets System + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
FMI Tickets System
+
+
+

Author
Kamen Mladenov; FMI Computer Science, Year 1, Group 6; Project 1, Topic 4
+
Date
12 May 2022
+ +
+
Source Code
+
https://github.com/Syndamia/FMI-OOP-P1_TicketSystem
+
+

+About

+

The "FMI Ticket System" is a small project, designed for managing the seats for different events. You can create or cancel an event in any available hall, reserve or straight out buy tickets for any given event and create some reports.

+

+Structure overview

+

The project is roughly divided into 4 main components: User Interface, Services, Models and Generic fig1.

    +
  • The User Interface is the messenger between a user and the underlying application. All input and output is handled here.
  • +
  • Services contain the business logic of the whole application. All requests to do anything like buying a ticket or creating an event must be sent to here.
  • +
  • Models are the general classes that are used in the previous two layers.
  • +
  • Generic is a place for all code that is can be used independently from the project. Stuff like Date, String or List.
  • +
+

This offers a fairly modular and flexible architecture, which should make big changes or additions to the code easier and more pain-free.

+

+Building the project

+

Instructions are all for gcc. All commands should be executed while in the src folder.

+

+Linux/BSD/MacOS

+
g++ *.cpp */*.cpp */*/*.cpp -o TicketSystem.out && ./TicketSystem.out
+

+Windows (PowerShell)

+
g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe
+

+Running the tests

+

Instructions are all for gcc. All commands should be executed while in the tests folder.

+

+Linux/BSD/MacOS

+
g++ Tests_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -o Tests_ALL.out && ./Tests_ALL.out
+

+Acknowledgements

+
+
Wikipedia
+
Leap year calculation for Date
+ https://en.wikipedia.org/wiki/Leap_year#Gregorian_calendar
+
StackOverflow
+
Way to clear the console in Toolbox.hpp
+ https://stackoverflow.com/a/52895729/12036073
+
+

+Figures

+

Figure 1: Overview of the "FMI Ticket System" design

+
+ +
+
+
+ + + + -- cgit v1.3.1-23-gd82d