CS213 AlgoLab codes
  • C 96.1%
  • Makefile 3.5%
  • Shell 0.4%
Find a file
2023-03-07 16:18:27 +05:30
.vscode Huffman codes 2023-03-07 16:18:27 +05:30
day1 removed object files; 2023-01-31 23:08:16 +05:30
day2 day2 2023-02-07 19:44:30 +05:30
day3 Day3 2023-02-14 21:54:51 +05:30
day4 Huffman codes 2023-03-07 16:18:27 +05:30
day5 Huffman codes 2023-03-07 16:18:27 +05:30
utils Day3 2023-02-14 21:54:51 +05:30
.gitignore removed object files; 2023-01-31 23:08:16 +05:30
common.h Day3 2023-02-14 21:54:51 +05:30
LICENSE Create LICENSE 2023-01-31 17:32:38 +05:30
main.c Huffman codes 2023-03-07 16:18:27 +05:30
Makefile Huffman codes 2023-03-07 16:18:27 +05:30
README.md minor change 2023-01-31 23:31:03 +05:30
run.sh minor change 2023-01-31 23:31:03 +05:30

CS213 Algorithm Lab Codes

How to use

  1. All C files are organised inside dayN directory.
  2. For compiling a certain day's C files, edit the DAY variable in Makefile to the appropriate one.
  3. Run make

For the extra points

  1. If you dont want to mess Makefile, you can use the run.sh script with the dayN directory as a parameter. (This requires sed installed 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.