stdafx.h is a file, generated by Microsoft Visual Studio IDE wizards, that describes both standard system and project specific include files that are used frequently but hardly ever change.
Visual C++ will precompile this file to reduce overall compile times.
The AFX in stdafx.h
stands for Application Framework eXtensions. AFX was the original abbreviation for the Microsoft Foundation Classes (MFC).