From 825b491a368eaaf46857f03ffbcc68e7dd078f31 Mon Sep 17 00:00:00 2001 From: Guilherme Matos Date: Sat, 4 Nov 2023 00:55:46 +0000 Subject: [PATCH 1/4] disclaimer --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 2337995..e0a13fe 100644 --- a/main.cpp +++ b/main.cpp @@ -56,7 +56,8 @@ int main(int argc, char** argv) { << " schdulEd -cpu classes_per_uc.csv -c classes.csv -sc students_classes.csv\n\n" << "Where '-cpu' is the flag that specifies a CSV file which contains the list of classes per each UC\n" << "Where '-c' is the flag that specifies a CSV file which contains the list of classes an their schedules\n" - << "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n" + << "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n\n" + << "This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested.\n" << std::endl; std::exit(1); } From 1743ba57f3537e111b53aee468eff189a1011660 Mon Sep 17 00:00:00 2001 From: Guilherme Matos Date: Sat, 4 Nov 2023 01:02:03 +0000 Subject: [PATCH 2/4] disclaimer --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index e0a13fe..8f39850 100644 --- a/main.cpp +++ b/main.cpp @@ -24,7 +24,8 @@ int main(int argc, char** argv) { << " schdulEd -cpu classes_per_uc.csv -c classes.csv -sc students_classes.csv\n\n" << "Where '-cpu' is the flag that specifies a CSV file which contains the list of classes per each UC\n" << "Where '-c' is the flag that specifies a CSV file which contains the list of classes an their schedules\n" - << "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n" + << "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n\n" + << "DISCLAIMER: This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested.\n" << std::endl; std::exit(1); } From 621689973ee47753c18183de2f313f3982c41c9d Mon Sep 17 00:00:00 2001 From: Guilherme Matos Date: Sat, 4 Nov 2023 01:04:15 +0000 Subject: [PATCH 3/4] disclaimer --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 8f39850..eb09d9e 100644 --- a/main.cpp +++ b/main.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) { << "Where '-cpu' is the flag that specifies a CSV file which contains the list of classes per each UC\n" << "Where '-c' is the flag that specifies a CSV file which contains the list of classes an their schedules\n" << "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n\n" - << "This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested.\n" + << "DISCLAIMER: This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested.\n" << std::endl; std::exit(1); } From eef680bdc42fd853f9d2d2f4096b94938cab2513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20V=C3=ADtor=20Ferreira?= Date: Sat, 4 Nov 2023 01:04:38 +0000 Subject: [PATCH 4/4] Added in main page --- docs/docs.md | 5 +++-- main.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/docs.md b/docs/docs.md index 58637c9..c1c2b10 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -8,7 +8,7 @@ This project was carried out by students from group 23: Duarte Souto Assunção, The project was developed in C++ and uses the CMake tool to compile the source code and this documentation. ### Using the terminal ``` -cmake CMakeLists.txt +cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt make ./AED2324_PRJ1_G23 -cpu classes_per_uc.csv -c classes.csv -sc students_classes.csv ``` @@ -104,4 +104,5 @@ Some requests may be accepted, rejected or cause conflicts, depending on the cur # Notes - Unfortunately, the maximum capacity of a class is hard coded to 30 students. - The terminal embedded in CLion can behave a bit differently than the system's terminal. - If possible, use the system's terminal to run the program. \ No newline at end of file + If possible, use the system's terminal to run the program. +- This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested. \ No newline at end of file diff --git a/main.cpp b/main.cpp index 8f39850..eb09d9e 100644 --- a/main.cpp +++ b/main.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) { << "Where '-cpu' is the flag that specifies a CSV file which contains the list of classes per each UC\n" << "Where '-c' is the flag that specifies a CSV file which contains the list of classes an their schedules\n" << "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n\n" - << "This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested.\n" + << "DISCLAIMER: This program is tested for Linux only. As such, it only takes Linux-compatible CSV files on Linux. It might work on Windows, but that is untested.\n" << std::endl; std::exit(1); }