What's the difference between cstdlib and stdlib.h?

Posted by Free Wildebeest on Stack Overflow See other posts from Stack Overflow or by Free Wildebeest
Published on 2010-05-24T22:32:19Z Indexed on 2010/05/24 22:41 UTC
Read the original article Hit count: 267

Filed under:
|

When writing C++ code is there any difference between:

#include <cstdlib>

and

#include <stdlib.h>

other than the former being mostly contained within the std:: namespace?

Is there any reason other than coding standards and style to use one over the other?

© Stack Overflow or respective owner

Related posts about c++

Related posts about stdlib