Revert "Update main.cpp"

This reverts commit b09e3c6f719a50b288c26f71a387641df2001158.