getting a string (size of that is not given)

how can i get a string with millions of lines?
namely how can i implement a data structure that expands
there are many ways to make that. A string is usually a vector of characters http://en.wikipedia.org/wiki/Vector_data_structure
Topic archived. No new replies allowed.