To compile: make To run: ./calculator "expr" This calculator has no expression checking, so any malformed expressions will cause undefined behavior. This may come later, though. Who knows?