Update main.cpp

Syntax error fixed