Command interpreter for c++