Update main.cpp

Edit function formatting_line