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

disclaimer #56

Merged
merged 5 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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