Nice. One remark: since the examples are in C, function main() should really be declared either int main(void) or int main(int argc, char *argv[]).
Sadly, gcc throws a warning about this issue only if compiled with option -Wstrict-prototypes.
0
13 Dec 2017 09:36
u/Goto80
in v/programming
Nice. One remark: since the examples are in C, function
main()should really be declared eitherint main(void)orint main(int argc, char *argv[]).Sadly, gcc throws a warning about this issue only if compiled with option
-Wstrict-prototypes.