This repository serves as a comprehensive collection of code and projects related to the "Programming 2" course offered at the ISRM and FRI undergraduate programs of University of Ljubljana.
.
├── home_work
├── lab_exercises
├── lectures
├── revision
├── README.md
└── ...
home_work
: Home work assignments for the year 2022/23lab_exercises
: Laboratoy exercices for each week of the semester for the year 2022/23lectures
: Holds a summary of everything we learned in a README.md filerevision
: Solved old exams and midterms
Every task with a working makefile and test units can be tested using the following sequence of commands:
gcc -o FileName FileName.c
export name=FileName
make test
You can also run the program manually using the following sequence of commands:
gcc -o FileName FileName.c
./FileName
The provided Makefile
might not be fully compatible with the test cases included in certain directories, potentially leading to a runtime error known as a "Segmentation Fault." To address this issue, an adjusted version of the Makefile has been employed within the "../revision/izpiti_2018/izpit1_2018/naloga2" directory. It is advisable to consider duplicating and implementing this revised Makefile in your project to potentially resolve instances of the Segmentation Fault error.