Although for an exact answer
Qt Code:
  1. return 0;
To copy to clipboard, switch view to plain text mode 
isn't needed as standard C++ compilers assume you mean precisely that if no return value is specified.