This repository has been archived on 2026-10-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
lightup/game_private.c
T

15 lines
223 B
C

#include <stdio.h>
#include <stdlib.h>
int max(int a, int b) {
if (a > b)
return a;
return b;
}
void checkPointer(void* p, char* errMessage) {
if (!p) {
fprintf(stderr, "%s", errMessage);
exit(EXIT_FAILURE);
}
}