Exit a scope. Look up a procedure by name in the current namespace, assuming that the procedure is defined. Define a procedure by name in the current namespace, assuming that there is no other procedure with that name. A function defining the distance between two names is given to you. When namespaces are merged handle identical names by keeping the definition in the current namespace.
Variables can take only integer values.
We want your makefile to make an executable that starts executing main.cc , as given in the course account. We will, of course, put in place of main.cc our own program that includes our test harness so that we can run test cases. My solution for Execution uses a small class that I call found. With the aid of this class I was able to find a one line solution for every method in Execution. I don't claim that my solution is the best one, but it makes extensive use of generic algorithms to get rid of explicit looping, which I consider to be one characteristic of a good solution.