afxwin.h is the core MFC header that declares fundamental classes like CWnd, CWinApp, and CDocument. It's automatically included in MFC projects and contains the base class hierarchy for Windows applications. stdio.h is for C I/O, iomanip.h for C++ I/O formatting, and afcapp.h doesn't exist.