(1)删除进程字典中x键的值 erlang:put(x,undefined). 就是把值改为undefined就Ok.(2)ets:match 匹配记录的时候,_='_' 可以代表任意多的键值对,匹配非记录的时候 '_' 只能代表一个term.(3)类似 lists:map/lists:foreac... Read More
posted @ 2014-03-08 21:01 风华一指流砂,苍老一段年华 Views(248) Comments(0) Diggs(0) Edit
各种基本算法实现小结(三)—— 树与二叉树(均已测试通过)===================================================================二叉树——先序测试环境:VS 2010 1 #include 2 #include 3 #include 4 struct _node 5 { 6 char data; 7 struct _node *lchild; 8 struct _node *rchild; 9 };... Read More
posted @ 2014-03-08 18:20 风华一指流砂,苍老一段年华 Views(335) Comments(0) Diggs(0) Edit