[問題] xcode 編譯時出現問題
開發平台(Platform): (Ex: Win10, Linux, ...)
mac os
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
xcode
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
應該是沒有
問題(Question):
在編譯的時候出現了Undefined symbols for architecture x86_64
https://imgur.com/98Zc1v6.jpg

餵入的資料(Input):
X
預期的正確結果(Expected Output):
X
錯誤結果(Wrong Output):
X
程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔)
https://glot.io/snippets/ez6t3l861n
補充說明(Supplement):
這學期修物件導向程式設計,老師教完class後出的作業
這是我第一次寫class,我以前用xcode寫標頭檔都沒有什麼問題
請大家幫幫忙 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.113.92.218
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1521113100.A.17A.html
→
03/15 21:42,
8年前
, 1F
03/15 21:42, 1F
真的是這個錯欸 我找了好久QQ 謝謝你 送你p幣
※ 編輯: a04775 (140.113.92.218), 03/15/2018 22:16:11
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章