B
bob
Hi,
given a vector of vectors of strings thus;
typedef std::vector<std::string> product;
typedef std::vector<product> product_matrix;
whats the fastest, most efficient means of streaming the
"product_matrix" to a file? I.E. without using two "for" or "while"
loops. Is there a means of using copy ? I'd like to use stl's copy
along with my 2 dimensional vector of strings. Is that possible? Or
should I just iterate over the contents myself ?
thanks much
G
given a vector of vectors of strings thus;
typedef std::vector<std::string> product;
typedef std::vector<product> product_matrix;
whats the fastest, most efficient means of streaming the
"product_matrix" to a file? I.E. without using two "for" or "while"
loops. Is there a means of using copy ? I'd like to use stl's copy
along with my 2 dimensional vector of strings. Is that possible? Or
should I just iterate over the contents myself ?
thanks much
G