+ 3
Process.h or cstdlib for exit() ??
In my C++ text book it's written that inorder to use exit() function we need to declare <process.h> but internet says <cstdlib>. Which one is correct ??
2 Respuestas
+ 7
The internet.
Here is some info on process.h
https://en.m.wikipedia.org/wiki/Process.h
In particular note the date of its creation (late 80's)
+ 3
yeah it's very old