Flatten a dynamic array

G

Gerrit Hulleman

Is there a standard call to flatten a dynamic array and visa versa? It must
be a readable string.

For a plugin that can only communicate with points to unsigned char I need
to transfer information and construct a dynamic array from it.

Gerrit Hulleman
 
K

Karl Heinz Buchegger

Gerrit said:
Is there a standard call to flatten a dynamic array and visa versa? It must
be a readable string.

For a plugin that can only communicate with points to unsigned char I need
to transfer information and construct a dynamic array from it.

Gerrit Hulleman

You do pretty much the same thing as you do when writing to a text file.
But instead of a file stream you use a stringstream.
 
M

Michiel Salters

Gerrit Hulleman said:
Is there a standard call to flatten a dynamic array and visa versa? It must
be a readable string.

For a plugin that can only communicate with points to unsigned char I need
to transfer information and construct a dynamic array from it.

Gerrit Hulleman

What is a dynamic array, and what does it mean to flatten it? These
aren't common C++ terms. Perhaps "serialization" would help you with
google.

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,167
Messages
2,570,910
Members
47,453
Latest member
MadelinePh

Latest Threads

Top