Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tok explanations
#1
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)