08 2014 档案
摘要:测试erlang脚本如下-module(empty).-author("mmc").%% API-export([test/1,test/0]).test()-> io:format("no arg~n").test(X)-> io:format("~p~n",[X]).编译,一种是进入erl,...
阅读全文
摘要:不知从哪个版本开始,mac下的virtualbox建立vm以后,启动就提示什么驱动没有加载,google后,解决如下sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
阅读全文
摘要:package mainimport "fmt"type TestStruct struct {}func (object *TestStruct) test(msg string) { fmt.Println(msg)}type CallBack func(msg string)func c...
阅读全文