Which is best way to pause the console in C++ programs?
- or using
- or using C functions like
Is it true that use of
system("pause") leads to non portable code and can’t work in UNIX?
Is cin.get() is better to use to pause console?