You can't rely on that. The implementors of your standard library might have decided to have iostream include those headers (likely only indirectly) for practical purposes (because they needed a function from one of these headers), but this might change in the very next update of your standard library and is likely completely different in other implementations.
Thank you very much for the replies...
it makes sense now.
So in short, I should stick to "ctime" and "cstdlib" names and dont rely that much on "iostream".
are there functions on iostream that are expected to be there? i.e. functions that cannot change in other implementations or even on new updates of IDE for example.