Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 Plt-Scheme 安装中,我有一个 C/Scheme 交互的示例。有两个文件:curses.c 和 curses-demo.ss。这些文件可在此处获得。我已经编译了curses.c,并尝试运行curses-demo.ss
我收到以下错误:“put:需要'字符、字符串或字节字符串'类型的参数;给定“Hello World!”
看起来很奇怪。有什么想法吗?
这些例子已经很老了,而且似乎还存在许多其他问题。如果您需要与 C 代码交互,使用“新”外部接口更容易 - 查看外部手册。