Then compile with gcc -DTEST *.c for testing. Remove -DTEST for grading. Note: Some exam shells disable this. Safer: comment out main manually.
No communication with peers, no internet access, and no music or phones are allowed. Zero Tolerance: exam 01 piscine 42 exclusive
❌ Using printf → Instant 0 (forbidden functions) ❌ Using write without <unistd.h> → Compilation error ❌ Forgetting int main(void) → Exam uses main to test your function ❌ Infinite loops in ft_print_comb → Forgot to reset second variable ❌ Not testing with gcc -Wall -Wextra -Werror before examshell ❌ Submitting .c file with same name as exercise? No – exam expects ft_putchar.c exactly. Then compile with gcc -DTEST *