cin hide input

I want to enter password from user in such a way that the input while being input is shown as ****.The examples on the net are alien to a beginner like me.

Can you give me simple example?

EDIT: Even external header file would work.
Last edited on
Registered users can post here. Sign in or register to post.