Program to count number of words, lines and characters in given string. C++ Program to find number of words in a given string. C++ Program to find number of lines in a given string. C++ Program to find number of characters in a given string.