CS3413/Assignment4/README.md

27 lines
756 B
Markdown
Raw Normal View History

2023-10-26 17:15:05 -03:00
# How to run
To compile please run:
```shell
gcc -Ilib lib/process.c lib/queue.c round_robin.c
```
And to run please run:
```shell
./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:
```shell
gcc process.c queue.c round_robin.c
```
2023-10-26 17:16:10 -03:00
In case you need to move the files, for easy copying:
2023-10-26 17:15:05 -03:00
```shell
2023-10-26 17:16:10 -03:00
mv lib/process.c . & mv lib/queue.c . & mv lib/queue.h . & mv lib/process.h .
2023-10-26 17:15:05 -03:00
```