摘要:
在《C和指针》第八章,有这么一个程序:/***判断参数是否与一个关键字列表中的任何单词匹配,**并返回匹配的索引值。如果未找到匹配,返回-1。*/#include <string.h>intlookup_keyword( char const * const desired_word, char const *keyword_table[], int const size ){ char const **kwp; /* ** For each word in the table ... */ for( kwp = keyword_table; kwp ... 阅读全文
posted @ 2013-03-30 17:40
frechei
阅读(145)
评论(0)
推荐(0)
摘要:
1. int hermite(int n, int x){ int result; if (n <= 0) result = 1; else if (n == 1) result = 2 * x; else result = 2 * hermite(n-1, x) - 2 * (n - 1) *... 阅读全文
posted @ 2013-03-30 17:34
frechei
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号