Update main.cpp

delete some useless,and some codes may be better,I'll try.