diff --git a/src/kode/checkmate.cpp b/src/kode/checkmate.cpp index 93b6d9b55055cf4646c744c870ef77b04efe9760..7c6916c53bd2fa4a30b977c9f22e7be481595243 100644 --- a/src/kode/checkmate.cpp +++ b/src/kode/checkmate.cpp @@ -3,7 +3,6 @@ #include <vector> // vector #include <iomanip> // setw #include <fstream> // ifstream, ofstream -#include "writeToFile.cpp" #include "LesData3.h" #include "player.h" #include "Tournament.h" @@ -28,8 +27,8 @@ int main() { char command; -// readFromFile(); - // readFromFileTournament(); + readFromFile(); + readFromFileTournament(); cout << endl << "Welcome to checkmate, a program for organizing chess tournaments. " << "Please use a single character as shown in the text when interacting with the program. " << "If you encounter any issues, please take contact with either the leader of the team, " @@ -169,8 +168,8 @@ int main() }while (command != 'Q'); - // writeToFileTournament(); - // writeToFile(); + writeToFileTournament(); + writeToFile(); return 0; }