Help!

Why commants like system() are "dangerous"?

1
2
3
4
5
6
7
8
9
#include<stdio.h>
#include<stdlib.h>

int main(void)
{
   printf("Hello World");
   system("pause");
   return(0);
}  


vs

1
2
3
4
5
6
7
8
#include<stdio.h>
#include<stdlib.h>

int main(void)
{
   printf("Hello World");
   getch();
   return(0);


They say that getch(); is more "safe".
Help!
http://www.cplusplus.com/forum/beginner/1988/

Scroll down this post and you'll see the reasons.
Thank you.
That was easy for you two.
:)
Topic archived. No new replies allowed.