Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Toolbox.cpp
diff options
context:
space:
mode:
Commitd7a6ca4891ee8fb50c5e36ea2627d12d40a3f5b0 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 14:28:43 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 14:28:43 +0300
Filesfeae2d89fd06a539a9884e723cde1600a8110a2e /src/ConsoleInterface/Toolbox.cpp
FMI-OOP-P1_TicketSystem-d7a6ca4891ee8fb50c5e36ea2627d12d40a3f5b0.tar
FMI-OOP-P1_TicketSystem-d7a6ca4891ee8fb50c5e36ea2627d12d40a3f5b0.tar.gz
FMI-OOP-P1_TicketSystem-d7a6ca4891ee8fb50c5e36ea2627d12d40a3f5b0.zip
Parentec50bcf82342916309ce5229dd20ae472ccae749 (diff)
Autocommit at 05.05.2022 @ 14:28
1 files changed, 11 insertions, 0 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.cpp11
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp
new file mode 100644
index 0000000..1a3bb7b
--- /dev/null
+++ b/src/ConsoleInterface/Toolbox.cpp
@@ -0,0 +1,11 @@
+#include "Toolbox.hpp"
+
+int orderedListIndex = 1;
+
+void resetOrderedList(int starter) {
+ orderedListIndex = starter;
+}
+
+void _printOrderedListBeginning() {
+ std::cout << orderedListIndex << ". ";
+}