Re:Donut math: how donut.c works
by ptspts on Monday September 18, 2023 @01:27PM
(#37559157)
It should compile without the #includes, possibly didplaying some compiler warnings.
[ Parent
| on HN ]
Re:Donut math: how donut.c works
by forgotpwd16 on Tuesday September 19, 2023 @03:28PM
(#37575112)
Yeap. A
gcc -lm donut.c
is enough. Also type and return type default to `int` so this doesn't need change either.