0
点赞
收藏
分享

微信扫一扫

VS2017#include "xxx.h"


在学习使用vs编辑C++代码,目前需要
记录下如何​​​#include myHeaders.h​

...
#include myHeaders.h
...

这个是需要设置包含目录:项目 右键》属性》配置属性》VC++目录》包含目录》把​​myHeaders.h​​所在的文件夹加入进来即可。

PS:果然还是Google强大,StackOverflow了解一下

VS2017#include "xxx.h"_Google


参考:

​​https://stackoverflow.com/questions/12561048/visual-studio-cannot-include-header-file​​


举报

相关推荐

0 条评论