【发布时间】:2009-10-27 23:25:49
【问题描述】:
我的朋友有真正的 Macintosh IIci,它在 68k 处理器下使用 Mac System 7.5.5,然后我认为我安装了 Metrowerks C/C++ 版本 1,但即使在一个简单的 Hello World 程序中我也会遇到错误:
#include <stdio.h>
int main(void)
{
printf("Hello, World!");
return 0;
}
我收到此错误:
·· Link Error : LinkError:hello.c: 'printf' referenced from 'main' is undefined.
所有帮助都是先行者。谢谢。
【问题讨论】:
-
在问题里加了,不好意思,是因为我需要打电话给我的朋友尝试编译程序并说出错误。
-
朋友,你带回了一些回忆
-
Stack Overflow 似乎无意中打开了到 1992 的套接字连接。
-
我们总是需要记住过去! ;)
标签: c++ c macos metrowerks