./lab3 < inputFile | diff - outputFileWhere inputFile and outputFile will be one of these or a pair of your own creation.
set<string> permute(string toPermute, string prefix);This would be: permute every character in the string "toPermute" and return me those permutations with the string "prefix" added to the beginning of each permutation. Thus
permute("ab", "foo");
would output the set {"fooab", "fooba"};