stdafx.h: When do I need it?

后端 未结 6 711
不思量自难忘°
不思量自难忘° 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:13

    stdafx.h is just another header file. If you fell you don't need it feel free to not include it and remove it from the project.

    However it's quite typical to have a file like stdafx.h exactly for precompiled headers to work and to not include all the stuff manually in each source file.

提交回复
热议问题