Deploy_0.9.0/isRNAcirc/src/header/ppause.h

isRNAcirc / src / header / ppause.h

isRNAcirc/src/header/ppause.h · 0.4 KB

#ifndef PAUSE_H
#define PAUSE_H

#include <limits>
using std::numeric_limits;
using std::streamsize;

//void ppause(string str) {
//  cout << str << endl;
//  cout << "Press ENTER to continue..." << flush;
//  cin.clear();  // use only if a human is involved
//  cin.ignore( numeric_limits<streamsize>::max(), '\n' );
//}


void ppause() { char cc; (void)printf("pause? "); cc = getchar(); if(cc=='q') exit(2);}

#endif

← 返回文件树 · 在 GitHub 上查看