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

Commit

Permalink
Merge pull request #56 from jvdcf/add_disclaimer
Browse files Browse the repository at this point in the history
disclaimer
  • Loading branch information
jvdcf authored Nov 4, 2023
2 parents 066451b + f213f9a commit 31c86a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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.
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.
6 changes: 4 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -56,7 +57,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);
}
Expand Down

0 comments on commit 31c86a3

Please sign in to comment.