<rc_usefulincludes.h>
This may be used as an "uber-include" at the beginning of a c file to include the most common C libs without having a cluttered list. This is technically bad practice and you should include only the headers necessary for your program to operate. However, this can save time while quickly prototyping and remains for backwards compatability.
◆ _GNU_SOURCE
◆ DEG_TO_RAD
#define DEG_TO_RAD 0.0174532925199 |
◆ RAD_TO_DEG
#define RAD_TO_DEG 57.295779513 |
◆ PI
◆ TWO_PI
#define TWO_PI (2.0 * M_PI) |
◆ ARRAY_SIZE
#define ARRAY_SIZE |
( |
|
array | ) |
sizeof(array)/sizeof(array[0]) |
◆ min
#define min |
( |
|
a, |
|
|
|
b |
|
) |
| ((a < b) ? a : b) |