0
What is the Difference between header files like cmath cstdlib and math.h stdlib.h
and which header file should i use to access rand()
3 Antworten
+ 1
They are the exact same. Those libraries are from C which is why in C++ they have allowed to include them as cmath instead of math.h, for example. rand () is in cstdlib.
+ 1
Usually the <tab> right header quadrant is good but i would defo say they are all equally good.
0
thanks guys.....