Generic pause function

Code

  • use: #include <cstdio>
  • use: #include <iostream>
  • use: using std::cin;
  • use: using std::cout;
  • use this prototype before main(): void cont();
  • use this call when you want to pause: cont();
  • include the following function: