[問題] 如何載入.H檔

看板C_and_CPP (C/C++)作者 (PT鄉民)時間14年前 (2012/04/09 01:16), 編輯推噓4(401)
留言5則, 5人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) VS 2010 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) #include <stdbool.h> 問題(Question): 我一直編譯都出現出錯訊息,而外我找了原始檔載入還是出錯 不知道Failed to load and parse the manifest 照這個方式去弄是正確的嗎?? 但是好像找不到路徑去嵌入!! 我額外再試過把stdbool檔原始碼copy弄成一個自製的.h檔 還是編譯出錯Q_Q 餵入的資料(Input):預期的正確結果(Expected Output):錯誤結果(Wrong Output):程式碼(Code):(請善用置底文網頁, 記得排版) 補充說明(Supplement): 無 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.118.229.184

04/09 04:12, , 1F
那就include路徑名稱進去阿
04/09 04:12, 1F

04/09 09:01, , 2F
怎麼我搜尋閣下的錯誤訊息 都跟header file無關 =.=|||
04/09 09:01, 2F

04/09 09:17, , 3F
project setting->manifest那邊看一下...
04/09 09:17, 3F

04/09 09:50, , 4F
複製一份到你專案資料夾 然後改成#include "stdbool.h"
04/09 09:50, 4F

04/18 20:09, , 5F
#include "X:\stdbool.h"我瞎猜的!哈哈
04/18 20:09, 5F
文章代碼(AID): #1FWSVYDV (C_and_CPP)
文章代碼(AID): #1FWSVYDV (C_and_CPP)