2012年8月30日
摘要: 参考文档: 《Programming Erlang》,第13章:Programming with Files 官方文档,file模块 、io模块 和filename模块。示例:%% 文件读写示例-module(file_example).-export([write/2, read/1]).%% --------------------%% 写入文件%% write(Content, FileName) -> {ok, Content}%% Content = string()%% FileName = string()%% --------------------write(Conte 阅读全文
posted @ 2012-08-30 22:20 Anthony Li 阅读(1720) 评论(0) 推荐(0) 编辑

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