2011年6月16日
摘要: 源自《The C Programming Language》P75 pr4-12, 4-13: 编写递归版本的itoa及reverse函数 代码:View Code 1 #include <stdio.h> 2 #include <string.h> 3 4 void printd(int n); 5 void itoa(int n, char s[]); 6 void reverse(char s[]); 7 8 //int end; 9 //int beg; 10 11 #define MAXLINE 100 12 13 int main() 14 { 15 int 阅读全文
posted @ 2011-06-16 01:33 将军之盾 阅读(613) 评论(0) 推荐(0) 编辑