Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 31c86a3

Browse files
authored
Merge pull request #56 from jvdcf/add_disclaimer
disclaimer
2 parents 066451b + f213f9a commit 31c86a3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/docs.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This project was carried out by students from group 23: Duarte Souto Assunção,
88
The project was developed in C++ and uses the CMake tool to compile the source code and this documentation.
99
### Using the terminal
1010
```
11-
cmake CMakeLists.txt
11+
cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
1212
make
1313
./AED2324_PRJ1_G23 -cpu classes_per_uc.csv -c classes.csv -sc students_classes.csv
1414
```
@@ -104,4 +104,5 @@ Some requests may be accepted, rejected or cause conflicts, depending on the cur
104104
# Notes
105105
- Unfortunately, the maximum capacity of a class is hard coded to 30 students.
106106
- The terminal embedded in CLion can behave a bit differently than the system's terminal.
107-
If possible, use the system's terminal to run the program.
107+
If possible, use the system's terminal to run the program.
108+
- 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.

main.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ int main(int argc, char** argv) {
2424
<< " schdulEd -cpu classes_per_uc.csv -c classes.csv -sc students_classes.csv\n\n"
2525
<< "Where '-cpu' is the flag that specifies a CSV file which contains the list of classes per each UC\n"
2626
<< "Where '-c' is the flag that specifies a CSV file which contains the list of classes an their schedules\n"
27-
<< "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n"
27+
<< "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n\n"
28+
<< "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"
2829
<< std::endl;
2930
std::exit(1);
3031
}
@@ -56,7 +57,8 @@ int main(int argc, char** argv) {
5657
<< " schdulEd -cpu classes_per_uc.csv -c classes.csv -sc students_classes.csv\n\n"
5758
<< "Where '-cpu' is the flag that specifies a CSV file which contains the list of classes per each UC\n"
5859
<< "Where '-c' is the flag that specifies a CSV file which contains the list of classes an their schedules\n"
59-
<< "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n"
60+
<< "Where '-sc' is the flag that specifies a CSV file which contains the list of students and their association with each class\n\n"
61+
<< "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"
6062
<< std::endl;
6163
std::exit(1);
6264
}

0 commit comments

Comments
 (0)