c++ simple programs