Initial commit

This commit is contained in:
github-classroom[bot] 2025-03-17 22:51:58 +00:00 committed by GitHub
commit 43a72b80a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 7024 additions and 0 deletions

20
general.h Normal file
View file

@ -0,0 +1,20 @@
/*----------------------------------------------------------
* HTBLA-Leonding
* ---------------------------------------------------------
* Exercise Number: n/a
* Title: general.h
* Author: P. Bauer, S. Schraml
* ----------------------------------------------------------
* Description:
* General usable definitions and types.
* ----------------------------------------------------------
*/
#ifndef ___GENERAL_H
#define ___GENERAL_H
/** Convenience macro do get maximum of two numbers */
#define MAX(x, y) ((x) > (y) ? (x) : (y))
/** Convenience macro do get maximum of two numbers */
#define MIN(x, y) ((x) < (y) ? (x) : (y))
#endif