Assuming that
mySize
equals the number of values in
in
, the
Vec
readFrom(istream& in)
method should:
Extract each value from
in
, storing each in a different item of
myArray
.