Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.42 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.42 KB

Programming 2

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.

Folder structure

.
├── home_work
├── lab_exercises
├── lectures
├── revision
├── README.md
└── ...
  • home_work: Home work assignments for the year 2022/23
  • lab_exercises: Laboratoy exercices for each week of the semester for the year 2022/23
  • lectures: Holds a summary of everything we learned in a README.md file
  • revision: Solved old exams and midterms

Setup

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

Caution

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.