Can you have iostream and <cstdlib> in one source file?
Printable View
Can you have iostream and <cstdlib> in one source file?
I don't see why not. You don't have to say cstdlib you can just say stdlib
Yes, you can, but I disagree with post #2, second part.
cstdlib is C++'s version of stdlib.h. Therefore, use cstdlib in C++.