Simple text formatter for c++