0
how to find a word consisting of one letter and extra spaces in each line in the file? write found in a new file
example :file1: igd j \n dhy k \n file2: j \n k\n
1 Answer
+ 1
Answers to this question are in a book I have been reading for C. "The C Programming Language" by Brian Kernighan and Dennis Ritchie dtd 1988. There is some code in there for character counting (without using strlen), line counting, word counting, ect. You can do a Google search and download the book or find a copy at your local library. It has been a very good read for a newbie such as myself.