Ok, lets say I wrote a small program that asks the user for his/her
username, etc, etc.

How can I stop the user from typeing input after about 10
characters?

For instances, the cursor will just sit there after the user has
entered 10 characters waiting for the enter button, and the
user can easily correct what he or she typed by pressing back
space etc, etc.

Is there a way to do this in a dos like atmoshere(win32 console)?
Programming: win32 console | Compiler: MSVC++