Please give me guidelines on how to go about writing a program which prints the order of execution of tokens in a c++ source code.
The c++ source code file will be inputed by the user, the program has to print in which order the statements will be executed..