# Script for testing all examples programs with the GNU C++ Compiler set Compile = "apCC -I/dept/cs/include/stl" echo " " echo "Testing ex01-01.cpp" $Compile ex01-01.cpp if ($status == 0) then a.out /usr/bin/rm a.out endif echo " " echo "Testing ex01-02.cpp" $Compile ex01-02.cpp if ($status == 0) then a.out /usr/bin/rm a.out /usr/bin/rm ex01-02.ii endif echo " " echo "Testing ex01-03.cpp" $Compile ex01-03.cpp if ($status == 0) then a.out /usr/bin/rm a.out /usr/bin/rm ex01-03.ii endif echo " " echo "Testing ex01-04.cpp" $Compile ex01-04.cpp if ($status == 0) then a.out /usr/bin/rm a.out /usr/bin/rm ex01-04.ii endif echo " " echo "Testing ex02-01.cpp" $Compile ex02-01.cpp if ($status == 0) then a.out /usr/bin/rm a.out /usr/bin/rm ex02-01.ii endif echo " " echo "Testing ex02-02.cpp" $Compile ex02-02.cpp if ($status == 0) then a.out ex17-01.out /usr/bin/rm shape.o /usr/bin/rm screen.o /usr/bin/rm a.out /usr/bin/rm ex17-01.ii endif