int main()
{
cout << "Would you like to play a game? Y/N?";
cin >> response;
if (response == "y")
cout << "What game would you like to play? Please type in exactly what the game is called including spaces, dashes, or capitalization.";
cin >> a;
//right here is where I would put a function to search the computer if I could find one.
The first part allows the user to input a program they want to open. What I am missing is a function to search the computer for the program the user had typed.
The last part starts a countdown to turn off the program if the user doesn't want to use the program. So what I need help on is basically any errors that you might notice and a function to search the computer.