+ 3
system("PAUSE") or not system("PAUSE")
Should we use it?, why?
4 Respostas
+ 8
You shouldn't, because you have the getchar() alternative, which is standard and does what you want without system() calls.
+ 1
sometimes u have to wait for user to read content Ur displaying so we use pause syntax. but keep in mind that this will not work with Linux. idk about Mac.
+ 1
Yes, I use Linux. I also think that the better is to use an alternative. getchar() works, but when I tried it, I have to double it, couse the buffer was full.
getchar();
getchat();
+ 1
I had used getchar () once in my program before that getchar syntax I used fgets ()
and it skipped getchar() :/