I've read that system("pause") is slow and not advisable to use.
Is there any function that I can use instead of that?
I've tried getchar() but if I have a scanf call before, it simply does not waits for an other input, only if I put an other getchar() under it (but I don't think it's a good solution).
edit: I'm using Microsoft Visual Studio 2010
 
     
     
     
    