stdafx.h: When do I need it?

后端 未结 6 730
不思量自难忘°
不思量自难忘° 2021-01-01 10:08

I see so much code including stdafx.h. Say, I do not want pre-compiled headers. And I will include all the required system headers myself m

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 10:37

    Even without pre-compiled headers stdafx.h could be handy as it groups header includes and definitions common for all files.

    You can of course choose to repeat all these definitions in every file. stdafx.h is not strictly necessary.

提交回复
热议问题