#pragma once #define CEIL(x, y) (((x) + (y) - 1) / (y)) #define ARRAY_SIZE(ptr) (sizeof(ptr) / sizeof(ptr[0]))