No, do not use getch(). It's a non-standard function (and I think it's not supported by modern compilers). Also, getch() doesn't accept any parameters and so getch(0) won't compile.

The OP doesn't need getch() to "wait" for the user to press the enter key. Once the user types their name, they'd anyway have to hit enter so as to "submit" the input for the program to continue running.