We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C
- Functions
- Querying the Document
- Discussions
Querying the Document
Querying the Document
Sort by
recency
|
155 Discussions
|
Please Login in order to post a comment
We can use
strtok_r
and save its internal states using save pointers since we use nested looping.Split the stirng by
'\n'
(for paragraph),'.'
(for sentance), and' '
(for word) step by step will be easy to implement.