3.10 How Hello Works

Without a visible function called “main,” as in C, or “WinMain,” as in Windows, it is hard to see how Hello does anything. Where is its entry point? What is its sequence of execution?

This section shows Hello's sequence of execution at two levels. First, the sequence is described at a general level to give you an overview. Second, the sequence is described again at a more detailed level. You can skip either of these sections, depending on your knowledge of C++ and Windows.