Update ex10_1_2.cpp

 read values into a list of strings.
Merge pull request #84 from shbling/patch-7

Update ex10_1_2.cpp