What is “stdafx.h” used for in Visual Studio?

A file named stdafx.h is automatically generated when I start a project in Visual Studio 2010. I need to make a cross-platform C++ library, so I don’t/can’t use this header file.

What is stdafx.h used for? Is it OK that I just remove this header file?

5 s
5

Leave a Comment