first make sure your souce code is complete. Because from what you've posted, the souces seems incomplete, e.g. the default constructor is empty and desctructor is missing. Even if you have the main function, it still doesn't compile. And i don't think one would have the patience to finish the 100M+ mass.
depending on your programming environment, the main function may have different forms. In m$ visual c++, windows application has main() called WinMain(), if my memory serves me correctly.
maybe you search for main and Main in all your text files.