const string s1 = strings.vecRef[0];
Look at the definition for
vecRef
, it is a function that returns a reference to a vector, not astring.
const string & s2 = strings[0];
The definition of
strings
is a constant reference to a
Strings
object, not an array.
As to the rest I am going cross-eyed trying to figure out the difference between Strings, strings, stringsC etc.
[edit]
I suspect "I have bin took"
[/edit]