I got a fatal error that the file or directory <stdlib>
is not found on ubuntu 11.xx
when I typed #include <stdlib>
.
Is <stdlib>
deprecated/removed, or is there something wrong with my GCC installation?
In C++ code, include 'cstdlib' instead.
#include <cstdlib>
If you are using C, include 'stdlib.h'
#include <stdlib.h>
In c++ code, always prefer the cXXX include instead of XXX.h
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With