FakeLogin is a project mainly written in C++, it's free.
My first C++ application
Compile: $ g++ password.cpp bin/a.out
Run: $ bin/a.out