password help

so i want to ask for someones password, but what they type shows up on the screen. i want to make it so that no matter what they type it will show '*'. and then write the password to a file. how do i do that?
Last edited on
thats for windows. i need one that at the very least that doesnt include conio or windows.h
What environment (OS/compiler) do you need to support?
windows gcc
Console app?
yep
Topic archived. No new replies allowed.