12-15-2016, 08:14 AM
Gintaras,
in tok documentation you state:
"Function tok splits string and stores tokens (parts of the string) into array arr. It can be safe array (ARRAY(str) or ARRAY(lpstr)) or pointer-based array"
I understand and use ARRAY(st) easily. As lpstr type must be similar to LPSTR C++ (alias for char *) it's already a pointer, and can use it with using index to get tokens.
I don't see how you use pointer-based array of lpstr in tok function.
An example to help understand this?
Thanks
in tok documentation you state:
"Function tok splits string and stores tokens (parts of the string) into array arr. It can be safe array (ARRAY(str) or ARRAY(lpstr)) or pointer-based array"
I understand and use ARRAY(st) easily. As lpstr type must be similar to LPSTR C++ (alias for char *) it's already a pointer, and can use it with using index to get tokens.
I don't see how you use pointer-based array of lpstr in tok function.
An example to help understand this?
Thanks