This C++ code gives back end program from calculator. We can give this functions to GUI for calculator and can have our own calculator.