Tokenizing

Objective

  • Use the C standard library string tokenizing function

Tokenizing a string

We will discuss how a string can be tokenized using the C standard library function strtok. A demonstration program is available as testToken.cpp

Sample code