heres a simple login program in c
visit
http://lern2hack.blogspot.com/
& see c programing section

OR

http://lern2hack.blogspot.com/2007/12/c-program-to-accept-password-mask-it.html...