I need to make a program to do the following:
1. ask the user for the name of the input file, and open/read it.
2. For each well-formed cout statement, i must execute it. For any malfunctioned cout statement, print an error message.
the syntax of a well-formed cout statement is: cout-statement, output-list, quoted-string, regular-char, and special-char.
If anybody has an idea on how i should start this, please do. Thanks.