stdafx.h: When do I need it?

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

    You can use pre-compiled headers (which are a good thing) without using stdafx.h (I abominate it too). I've only got access to VC++ 6.0 but in that go to Project Settings|C/C++|Precompiled Headers and select "automatic use of precompiled header" but leave the "compiled through" box empty.

提交回复
热议问题