Build

Go to different folders and run:

$ g++ -o main main.cpp #[other cpp files]
# run
$ ./main

Example:

$ cd aufgabe1
$ g++ -o main main.cpp student.cpp
$ ./main