You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::cout << "Please enter Process Name" << std::endl;
std::cin >> pName;
while (std::string::npos != pName.find_first_of("0123456789")) //Please note this line was made possible thanks to black magic sorcery from Stackoverflow.
{
std::cin.clear();
std::cout << "Please enter a valid name. No digits." << std::endl;