I need your help guys! I have to create a file and write something in it (it could be .txt). Then I have to make a program that reads the .txt file and inputs in another one (with any extension) the phrases that aren't common in it.
So if the file says:
generally
normally
The output file should say:
"gene" "ene" "ne"
"no"
It has to have 2 or more letters. The phrases like "rally", "lly", "ly", etc should not appear because they're ambiguous.
If the are not any non ambiguous phrases, in the output file should appear a blank space (endl).