Skip to content

Set of solved exam tickets on the basics of programming (Jan 2022, the 1st semester of university)

Notifications You must be signed in to change notification settings

Scorpi-ON/C-Stack-Pack

Repository files navigation

Stack Pack — deal with dynamic structuers easily!

This toolkit was created during the preparation for the programming exam. To speed up the solution of tasks from several exam tickets, I desided to separate the common I/O and stack functions from the unique ones for each specific task.

It will be useful for you if you want to:

  • better understand dynamic structures and recursion
  • improve C skills — the package covers topics such as pointers, files, preprocessor etc.
  • solve another ticket or lab work — focus on your task, the rest of code is already written!

Works in

  • Windows (Visual Studio IDE)
  • Linux (Clang compiler)
  • Mac (not tested)

Structure

  • lib
    • stack.c
    • stack.h
    • tools.c
    • tools.h
  • _template.c
  • README.md — this documentation.
  • Tasks

Using

Windows:

...

Linux:

  1. git and clang should be installed
  2. Clone the repo:
git clone ... && cd Stack-Pack
  1. Compile one of the tasks connecting files tools.c and stack.c:
clang -g <task> tools.c stack.c -o <output>
  1. Run the resulting executable:
./<output>

About

Set of solved exam tickets on the basics of programming (Jan 2022, the 1st semester of university)

Topics

Resources

Stars

Watchers

Forks

Languages