Formatting oversized columns in output

I am having an issue with oversized data for some of my columns. My normal output looks ok but when I have longer than normal data in the dot license or serial number fields, the output looks really bad.

The output: https://pastebin.com/yhP8j0kw

My code for the output: https://pastebin.com/7YhiXDcS

What can I do to fix this?
Last edited on
erase the extra
http://www.cplusplus.com/reference/string/string/erase/

or put the extra on a 2nd line.
Topic archived. No new replies allowed.