Content for the C course taught by Jannik Wiessler at the DHBW.
Projects are described in the Programmentwurf
directory. Currently implemented are:
- "Complex Calculator", files are in the
HA1
directory - "Newton-Raphson", files are in the
HA2
directory - "Simple linked list", files are in the
HA3
directory - "Mass-Spring-Damper", files are in the
HA4
directory
CMake is used as build system. The steps are as follows:
- Install CMake and a working compiler.
- Clone this repository including all of its submodules. To do so, either use the
--recursive
flag while clone this repository or rungit submodule init
followed bygit submodule update
inside of the repository. - At the top-level directory of this repository, create a build directory like
build
. - Open a terminal and change into the build directory.
- From there, run
cmake ..
. Now is the time on Windows to tell CMake if you use something other than the Microsoft compiler. For example, if you are using the MinGW compiler, runcmake .. -G "MinGW Makefiles"
instead. - After CMake is done configuring, run
cmake --build .
to actual build the project. To pick a specific target, use the-t
flag. The output has the same structure as the project itself.