How to run and improve this code - new to visual C++

Printable View