CS213 AlgoLab codes
- C 96.1%
- Makefile 3.5%
- Shell 0.4%
| .vscode | ||
| day1 | ||
| day2 | ||
| day3 | ||
| day4 | ||
| day5 | ||
| utils | ||
| .gitignore | ||
| common.h | ||
| LICENSE | ||
| main.c | ||
| Makefile | ||
| README.md | ||
| run.sh | ||
CS213 Algorithm Lab Codes
How to use
- All C files are organised inside
dayNdirectory. - For compiling a certain day's C files, edit the
DAYvariable inMakefileto the appropriate one. - Run
make
For the extra points
- If you dont want to mess
Makefile, you can use therun.shscript with thedayNdirectory as a parameter. (This requiressedinstalled on your system. For Windows users, you will need Cygwin's sed)
For ex, to compile everything under day3 directory, do
sh run.sh day3
This command will also run the executable.