Project must be written in JGRASP software.
Project Outcomes
Write a C++ Program that uses:
Strings
Passing Strings to functions
Files Input and output.
Project Requirements:
Write a function called removeRepeats that, given a string, removes any repeated letters and returns a
new string.
Write a main method that reads words (strings) from a file and writes the new strings (no repeated
letters) to another file.
Several options are left for the programmer to determine:
Use of either c-string(char arrays) or thestring class.
Use of a container (array or vector) to store the strings. You can either store the strings in an array
or vector – or just read and write without storage.