Gravar-mail: Problem solving using C++