A
Alex Vinokur
I need a container of char-buffers, for instance, vector of
char-buffers.
vector<string> v; // It is not what I need to
char a[10];
memset (&a[0], 0, sizeof (a));
v.push_back(a);
cout << v.back(); // This displays empty string, not 10 bytes. I need
to get 10 bytes in this example.
Is there any way to create a container of char-buffers?
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
char-buffers.
vector<string> v; // It is not what I need to
char a[10];
memset (&a[0], 0, sizeof (a));
v.push_back(a);
cout << v.back(); // This displays empty string, not 10 bytes. I need
to get 10 bytes in this example.
Is there any way to create a container of char-buffers?
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn