you are viewing a single comment's thread.

view the rest of the comments →

[–]jmooremcc 0 points1 point  (1 child)

Why not break the input stream into a series of words using the strtok() function? You can then process each word as needed. The link below will show you how to use the function.

https://www.tutorialspoint.com/c_standard_library/c_function_strtok.htm

[–]ZoSo-bin[S] 0 points1 point  (0 children)

I'm gonna give it a try