升级到visual studio 2015 c ++,现在没有assert.h? [英] Upgraded to visual studio 2015 c++, now there is no assert.h?

查看:686
本文介绍了升级到visual studio 2015 c ++,现在没有assert.h?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了,  我的2010年工作正常,并有assert.h 如果我设置我的路径,那么其他事情就会中断。    2015年是否应该在VC \ include中附带assert.h?   如果是这样我将不得不重新安装。    

I've searched,   my 2010 works fine and has assert.h  if i set my path to that assert, other things break.    Is 2015 supposed to come with assert.h in VC\include?    if so i will have to reinstall possibly.    

推荐答案

由于使用VS2015断言的Great CRT Refactoring提供了UCRT标题。 例如,库存VS2015安装有assert.h -

Since the Great CRT Refactoring with VS2015 assert.h is provided among the UCRT headers.  For example, a stock VS2015 installation has assert.h at -

c:\Program Files \ Windows Wits\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ assert.h

c:\Program Files\Windows Kits\10\Include\10.0.10240.0\ucrt\assert.h

assert.h头不再驻留在VC \Include

The assert.h header is no longer resident in VC\Include


(UniversalCRT_IncludePath)应指向此文件夹
(UniversalCRT_IncludePath) should point to this folder


这篇关于升级到visual studio 2015 c ++,现在没有assert.h?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆