无法打开包括文件:“alloc.h”

问题描述:

 

1>------ 已启动生成: 项目: interpolation, 配置: Debug Win32 ------

1>正在编译...

1>interpolation.cpp

1>c:/documents and settings/renyanhua/my documents/visual studio 2008/projects/interpolation/interpolation/interpolation.cpp(3) : fatal error C1083: 无法打开包括文件:“alloc.h”: No such file or directory

1>生成日志保存在“file://c:/Documents and Settings/RenYanhua/My Documents/Visual Studio 2008/Projects/interpolation/interpolation/Debug/BuildLog.htm”

1>interpolation - 1 个错误,0 个警告

========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

答案:
非常囧~~~~ 原因是没有“alloc.h”这个头文件,只需要多加一个M。
即 将 alloc.h 改成 malloc.h 即可!
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章