Guest User

Untitled

a guest
May 20th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. int i = 0;
  2. char** tokBuffer = NULL;
  3.  
  4. char* curToken = strtok( buffer, " " );
  5. int size = sizeof(curToken);
  6.  
  7. tokBuffer = (char**) realloc ( tokBuffer, size );
  8. tokBuffer[i] = curToken;
Add Comment
Please, Sign In to add comment