So I have learned from David in some conversation that the TYPE_STRING
DX array is setup as a single array of characters, versus an array of
array of characters (array of strings). In other words, the array is of
type char[numStrings * shape], and to find the appropriate string, the
true
You need to create the array and then strcpy(data_array_ptr[index],
str_value.c_str());
David
Hello,
Hopefully this is a question with a simple answer:
I'd like to have a DX Array of strings (TYPE_STRING). When I use
DXGetArrayData(...) to get the array, is the return type char*
(pointer
Hello,
Hopefully this is a question with a simple answer:
I'd like to have a DX Array of strings (TYPE_STRING). When I use
DXGetArrayData(...) to get the array, is the return type char* (pointer
to an array)? I'm not finding documentation on this.
My code looks something like:
char*