i'm trying to create a function to have someone input their name in this format:
lastname, firstname
basically at this point i use a getch() to get each letter, cout the letter on the screen, and wait until the user enters a ',' in which case it'll break the loop. but for some reason it's completely not working :(