CS3413/Assignment5/README.md

23 lines
511 B
Markdown
Raw Permalink Normal View History

2023-11-02 23:51:50 -03:00
# How to run
To compile please run:
```shell
gcc -Ilib lib/process.c lib/queue.c hard_affinity.c
```
And to run please run:
```shell
./a.out < example.txt
```
# 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 hard_affinity.c
```
In case you need to move the files, for easy copying:
```shell
mv lib/process.c . & mv lib/queue.c . & mv lib/queue.h . & mv lib/process.h .
```