console closing down

what is the risk in using the command

system("pause.exe");

i know that it is window supported function or platform but why not ?
i don't found any risk in this
There has been a big discussion about this topic:
http://www.cplusplus.com/forum/beginner/1988/

There's no real risk in using system("pause"), but it has some bad points, and there're several other, better solutions.
All the solutions are here: http://www.cplusplus.com/forum/articles/7312/
i hate using system ("puase") in my code cuase it sais "press any key to continue" in your program... XD
thsnk you very much
Last edited on
Topic archived. No new replies allowed.