how to count words in a string
807607Oct 16 2006 — edited Oct 16 2006hey guyz!! i have to write a program which reads the prefix(entered by the user) form a string and returns the number of times that prefix occured in the whole string or line!!
so i was wondering how would read every single word in a string !!! string is supposed to be entered by the user too!!! thx for the help!!