If I were to look at the source code I would try to find the main program. Somewhere you must find something like "void main() {" . This curly bracket must be closed by "}".You also must find at the very beginning of the source code some "include ????" statements...