A Stack Machine in C++