Initial commit
This commit is contained in:
commit
87dcb960bf
67 changed files with 6733 additions and 0 deletions
21
general.h
Normal file
21
general.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*----------------------------------------------------------
|
||||
* HTBLA-Leonding
|
||||
* ---------------------------------------------------------
|
||||
* Exercise Number: n/a
|
||||
* Title: general.h
|
||||
* Author: P. Bauer
|
||||
* Date: n/a
|
||||
* ----------------------------------------------------------
|
||||
* Description:
|
||||
* General usable definitions.
|
||||
* ----------------------------------------------------------
|
||||
*/
|
||||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue