modified:   calc.cpp