Home > Back-end >  Input a long characters in jianghu emergency, c, statistics of words Numbers, the number of Spaces,
Input a long characters in jianghu emergency, c, statistics of words Numbers, the number of Spaces,

Time:11-14

River's lake emergency, input a long characters in c + +, statistics of words Numbers, the number of Spaces, capitalize the first word and sentence first!

CodePudding user response:

^_^ simple operation, this is the string can learn first

CodePudding user response:

Traverse back once upon a time, find a space for a node, then write a word count and Spaces, until just a string of empty, as to capitalize the first letter, whether first letter capitalized, and then convert line (? ˙ o ˙)?