> I would use std::vector, because it has a natural constructor for
Just be warned that there are compilers (MSVC.NET 2003 for one) that
do not have the std::vector<> template specialized for char (or
similar) thus the constructor call above will ultimately lead to a
loop initializing the vector's components one by one(!).
[ See http://www.yqcomputer.com/
[ comp.lang.c++.moderated. First time posters: Do this! ]