Oct 5, 2011 at 5:51am UTC
I've heard that using system("PAUSE" );
makes your program vulnerable, and that I should use something else to keep the console open. Why is it bad exactly, and what alternatives should I use instead?
Oct 5, 2011 at 5:55am UTC
Last edited on Oct 5, 2011 at 5:56am UTC
Oct 5, 2011 at 8:46am UTC
system("PAUSE" );
usage instructions:
USE IT FOR:
- homework
- learning how the language works
DON'T USE IT FOR:
- anything else
As for haters, they gonna hate. Until there's an std::pause()
utility, I personally favor system("PAUSE" );
to any language hack they might suggest.
Oct 5, 2011 at 8:50am UTC
Look at this link: http://stackoverflow.com/questions/900666/system-calls-in-c-and-their-roles-in-programming
Wazzak
Oct 5, 2011 at 9:03am UTC
Thanks, I will definitely look at these resources!