CS3413/Assignment4/README.md
2023-10-26 17:16:10 -03:00

756 B

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, for easy copying:

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