i just read about them in the C++ book i have and was wondering if they could be used to replace what is typed with an * (like for a password). If not how do i go about doing this?

(PS- Sam's Teach Yourself C++ in 21 Days really is a crappy book )