CS3413/Assignment4
2023-10-26 17:15:05 -03:00
..
.idea Add working but shit a4 implementation 2023-10-26 15:58:58 -03:00
documentation Start assignment 4 2023-10-24 13:50:05 -03:00
lib Finish a4 2023-10-26 17:15:05 -03:00
CMakeLists.txt Change A4 cmake config 2023-10-26 11:25:11 -03:00
README.md Finish a4 2023-10-26 17:15:05 -03:00
round_robin.c Finish a4 2023-10-26 17:15:05 -03:00

How to run

To compile please run:

gcc -Ilib lib/process.c lib/queue.c round_robin.c

And to run please run:

./a.out < example.txt

Notes

I'm not sure if the input will be exactly like the samples, or if the header table was just for us to help understand, so in case the input is not like the samples, line 15 can be commented out and the program should work as expected.

In case of error

If that command to compile does not work, please place all C and C header files in the same directory and run:

gcc process.c queue.c round_robin.c

In case you need to move the files:

mv lib/process.c . & mv lib/queue.c . & mv lib/queue.h . & mv lib/process.h . & mv lib/round_robin.h .