+ 1

Is stdlib.h and cstdlib are same or different and how?

Or they have different compiler??

6th Jun 2018, 3:03 AM
Rounak Sartaliya
Rounak Sartaliya - avatar
1 Respuesta
+ 3
They are the same, its just that cstdlib is the standard version, renamed like this after the standardization of the headers. The new standardized c++ headers (which were now binded to the standard namespace) were differentiated from the old ones by the omitted '.h' from their names. The headers imported from C had a 'c' added before their names after the '.h' was omitted.
6th Jun 2018, 5:04 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar