char input = ' ';
// etc.... program
while(input !='T')
{
input = toupper(_getch()); // Waits for uppercase 'T' because keyword, toupper(), changes key
// press to upper case
}
// Program continues after a 'T' is entered to whatever you programmed to happen