無法打開包括文件:“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 即可!
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章