If you have compiler errors, post them verbatim. We would like to see all of the actual error, not part of it, or in the worst case someone's own interpretation of the error.
The very last line of your code has a semicolon after the brace - that is supposed to go at the end of the class definition, so it's possible that main and everything is trying to be inside your class.
Edit: It may be that brace with the semicolon is an extra one, anyway make sure there is a semicolon at the end of the class - it's important.
Consider putting the class definition in it's own header file. Name the file exactly the same as the class name. I like to use an extension of .hpp because that means it contains c++ code.
Also put the class function definitions into their own .cpp file, also named exactly after the class name. Have a read on Google on other things to keep not of when doing this.
It keeps saying 'control reaches end of non-void function'
You have a function called main as a member of your project class which promises to return an int. It does not. Don't promise to return something if you're not going to return something.
Are you coming from Java? In C++ we tend to avoid member methods named main, but we need a non-member functionmain as the entry point to the program.