Write program that will read a file and display messages showing the positions of spaces. Example: Input file: Nonzero if successful; otherwise 0. Displays: Position 7 is a space Position 10 is a space Position 11 is a space Position 23 is a space Position 33 is a space (Hint: use tellg) Write program that will read from file only titles of the books (without reading all other information) and display these titles on the screen. Each record in the file starts with a length indicator. Delimiter is placed at the end of each field. Example: Input file: 45 Using C++ | 123456789 | Hennefeld, Burchard| 36 XML by Example | 12348989| McGrath| Displays: Using C++ XML by Example (Hint: Use seekg)
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.