Problem
1. Modify the bracket checking program so that it reads the whole of an input file.
2. Modify the bracket checking program so that input characters are echoed to output, and individual unmatched closing brackets are identified in the output file.
3. Incorporate C++ comments and character strings into the bracket checking program, so that any bracket within a comment or character string is ignored.