Thank you. I am trying that out now.
I can use system ("PAUSE") in a gnu compiler, right? Also, would it be better to use system ("PAUSE") on cin.get()?
Does system("PAUSE") also wait for an key to be pressed?
Don't use system("PAUSE"). It is causing unncessary overhead to your program by making system calls. Just stick with the latter