Add pressEnter() inputHelper

This commit is contained in:
Joel Thomas
2026-02-19 15:39:27 +05:30
parent cd0f7694b9
commit e959c32bd3
2 changed files with 6 additions and 0 deletions
@@ -9,3 +9,8 @@ void util::readString(std::string& value)
{ {
getline(std::cin >> std::ws, value); getline(std::cin >> std::ws, value);
} }
void util::pressEnter()
{
system("pause");
}
@@ -24,4 +24,5 @@ namespace util
} }
void readString(std::string&); void readString(std::string&);
void pressEnter();
} }