Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
using namespace std;
bool isEnterPressed() {
string str;
cout << "Input any key you like" << endl;
getline(cin, str);
if (str == "") {
return true;
}