Arrays and Vectors


Now that you understand the basics, it is time to start moving on to more exciting challenges. Let’s write a real program, something nontrivial, but still simple enough to master this early in the book. Your job is to write a program that reads integers from the standard input, sorts them into ascending order, and then prints the sorted numbers, one per line.


Generic Algorithm Angle Bracket Standard Library Standard Input Member Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Ray Lischner 2009

Personalised recommendations