开发者

Writing to a binary file in PROLOG

I know how to write to ordinary files, but I haven't found any resources on the web about binary files in Prolog.

I'm us开发者_如何学JAVAing Turbo Prolog.


ISO Prolog has binary I/O.
Just Google: "ISO Prolog Standard" for anything about ISO Prolog.

Here is an I/O reference for SWI-Prolog, free, ISO.

Turbo Prolog is hard to find documentation for. If you look at Example 64 that ships with it, you'll find a way to call C from Prolog. That'll get you binary I/O for sure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜