作者a04775 (a04775)
看板C_and_CPP
标题[问题] xcode 编译时出现问题
时间Thu Mar 15 19:24:56 2018
开发平台(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://webptt.com/cn.aspx?n=bbs/C_and_CPP/M.1521113100.A.17A.html
1F:→ jerryh001: 你constructor没有定义阿... 跟上一篇一样 03/15 21:42
真的是这个错欸 我找了好久QQ 谢谢你 送你p币
※ 编辑: a04775 (140.113.92.218), 03/15/2018 22:16:11