-This must be done in C++ not C Your task is to input text data from the standard input device and to identify and count words found in the text. For this assignment a word is considered to be any sequence of alphabetic characters or digits that are grouped together (contiguous) and separated by blanks, tabs or punctuation characters (exclamation point, period, question mark, comma, colon, semi-colon). Each word detected (as a sequence of characters) will be written to a file (“[url removed, login to view]?) that is to be opened by the program. Words written to the output file are separated by carriage returns. Because the output file may exist it must be opened such that new data is appended to the end of the file allowing the words found from multiple input data to be collected. To simplify the process of detecting words it is strongly suggested that input be performed on a character-by-character basis and a combination of logic (building a word or not) and switch controls be used to filter input data. Character data that is being considered as a part of a word should not be stored or maintained INSIDE the program. Every character obtained should be evaluated and either discarded or written to the output file. After characters have been written to the file (as a detected word) do not forget to write a carriage return for the start of the next word. Input must be obtained from the user via the standard input device, cin. Since the detected words are the primary output they must be sent to the file “[url removed, login to view]? but may also be repeated to the standard output device (cout). Consider hyphenated words and contractions as one word.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. 4) This must be done in C++ not C
Must work on Windows XP