2012年9月1日
摘要: 参考文档: 《Programming Erlang》,第12章:Interfacing Techniques创建C源文件: hello.c 具体函数的实现hello.cint twice(int arg) { return (arg * arg);}int sum(int arg1, int arg2) { return (arg1 + arg2);} hello_driver.c 驱动程序运行hello_driver.c#include <stdio.h>#define BUFFER_SIZE 100typedef unsigned char byte; //8 bitin... 阅读全文
posted @ 2012-09-01 15:05 Anthony Li 阅读(1786) 评论(0) 推荐(1) 编辑

博客园博客已停止更新,博客地址:dyinigbleed.com