0

How work with file <stdlib.h>?

18th Mar 2019, 10:17 AM
Matty
Matty - avatar
2 Answers
+ 1
Thank you
18th Mar 2019, 11:22 AM
Matty
Matty - avatar
0
In C you get access to these libraries: https://en.cppreference.com/w/c/memory https://en.cppreference.com/w/c/program https://en.cppreference.com/w/c/string https://en.cppreference.com/w/c/numeric/random In C++, the recomanded file is <cstdlib> because it imports everything into the std namespace, where as <stdlib.h> (which you can still use), imports everything into the global namespace. In any case here is the C++ documentation. The library is similar to C's, but not identical: https://en.cppreference.com/w/cpp/header/cstdlib I hope this is what you're looking for.
18th Mar 2019, 11:21 AM
Vlad Serbu
Vlad Serbu - avatar