[tab]The easiest way would be in input the file character by character. The first character of the file would be upper case (assuming that the file starts with a vailid sentence). You then convert the characters to lowers case using the standard ctype header tolower method. When you get to a period, the next character would be upper case again.
[tab]Some potential "gotcha's" would include proper names, spaces between sentences, and numbers. Look carefully at ctype for several useful methods, including isalpha, islower, toupper, tolower, isspace, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.