摘要: 顺时针/螺旋规则可以概括成下面简单的三步: 1. 从一个未知元素开始,以螺旋/顺时针的方向移动,当遇上下面的元素时,用相应的词替换它: [X] 或 [] =>类型为…的大小为X的数组(Array X size of…)或类型为…的未知大小的数组(Array undefined size of…) (type1, type2) =>参数为type1和type2、返回值为…的函数(function passing type1 and type2 returning…) * =>指向…的指针(pointer(s) to…) 2. 以螺旋/瞬时间方向继续移动,直到覆盖所有的符号。 3 阅读全文
posted @ 2013-10-26 10:33 Navono 阅读(1190) 评论(0) 推荐(0) 编辑