Here's a basic code sample where it reads in 10 numbers typed on the console line. btw, Google needs to become your best friend as a developer otherwise you'll fail.
EDIT: I took original from google without reading if fully. Not sure if it worked.. I have written my own simplifed version after actually looking at other.
Haven't touched C"plusplus" in years so hopefully this gets you started and just fill in my commented areas.







