Visual Studio 预编译头文件 stdafx.h

  1. 项目属性使用预编译
  2. 一个预编译.h对应一个预编译.cpp,cpp 中只包含一句 #include "stdafx.h"
  3. 右键 'stdafx.cpp' 选 'Yc/创建'
  4. 源文件中包含 #include "stdafx.h"




参考: https://www.cnblogs.com/foundwant/archive/2013/03/18/2966382.html
posted @ 2024-11-05 22:24  double64  阅读(37)  评论(0)    收藏  举报