C ++ study notes 03-- strings, vectors and arrays

A string literal string with a different type

vector object (and string objects) subscript operator can be used to access an existing element, the additional element can not be used.

If the container is empty, the begin and end in the same return an iterator are iterators tail.

But those who use the container iterator loop, do not want to add an element iterator belongs.

Published 336 original articles · won praise 331 · Views 100,000 +

Guess you like

Origin blog.csdn.net/zym326975/article/details/103222669