The George Washington University
School of Engineering and Applied Science
Department of Electrical Engineering and Computer Science
CSci 131 -- Data Structures
Lab #8
For labs meeting on March 11, 1999

1. Run the movie PointerFunAda once or twice to get some familiarity with pointers.

2. Write a very simple test program, similar to Test_Employees, that repeatedly

  • prompts the user for a VString representing an infix expression with no parentheses
  • calls RPN_Priorities (Prog. 7.6) to convert the expression to RPN
  • displays the RPN string

Use VStrings and VString.IO.

Test this for a large number of expressions. You can just put the program in an endless loop and quit by pressing ctrl-C.

Now do Exercise 6, p. 311.