Add pressEnter() inputHelper
This commit is contained in:
@@ -9,3 +9,8 @@ void util::readString(std::string& value)
|
||||
{
|
||||
getline(std::cin >> std::ws, value);
|
||||
}
|
||||
|
||||
void util::pressEnter()
|
||||
{
|
||||
system("pause");
|
||||
}
|
||||
|
||||
@@ -24,4 +24,5 @@ namespace util
|
||||
}
|
||||
|
||||
void readString(std::string&);
|
||||
void pressEnter();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user