So from what I've been taught, in school and in books, all C programs(I assume C++ too) always have main(). That's very explicitly mentioned. However in my poking around with some relatively large open source projects in hopes of learning something, it isn't as straight forward.
What I've encountered was that there were a lot of C files that only contained function definitions, as if being used as header files(which was confusing too since they weren't called via include. How they kind of go together escapes me). I found it weird because it seems that they were all connected, really contrary to what I know.
Bottom line I couldn't find main, intelligently looking at the C files that would probably contain it. I asked someone and he said the IDE kind of works it out which was confusing for me since where is the flow, where do the functions get called/invoked.
WHERE IS MAIN! :'(
If it means anything the projects were eAthena and mpc. Although just to lay it out I don't know anything about C++, which is what mpc is written on.