How do I stop cin from crashing my prog

Printable View