Closed snowy-shadow closed 1 year ago
Can you link me some resources as to why
"the proper way" because everything is now wrapped in the namespace std
https://www.incredibuild.com/blog/cstdlib-in-c-explained
stdlib.h
is deprecated since 1998
https://stackoverflow.com/questions/2900785/whats-the-difference-between-cstdlib-and-stdlib-h
for our case I don't think it will matter that much tho
Thanks! :+1:
Edit: I'm keeping this open, will use the issue to onboard new members
When including
C
libs in c++, add prefixc
and remove.h
e.g.
#include <cstdlib>
instead of#include <stdlib.h>
this applies for all c libs