How can one make it so keys pressed through users are not echoed on the screen?
A: It is not a standard C++ feature. C++ doesn't even need your system to have a keyboard or a screen. That means each vendor and operating system does it somewhat differently.
Please read the documentation which came along with your compiler for details on your particular installation.