摘要:
#include int main(){ char str_fat[] = "asdfghjkl"; char str_son[] = "jkl"; int temp = KMP_function(str_fat,str_son,0); ... 阅读全文
posted @ 2015-11-14 16:09
方家小白
阅读(32)
评论(0)
推荐(0)
摘要:
#include #include #define LISTSIZE 100 #define LISTINC 10 #define LEN sizeof(SqList) typedef struct sequenceList{ int *elem;... 阅读全文
posted @ 2015-11-14 16:05
方家小白
阅读(23)
评论(0)
推荐(0)
摘要:
根据栈的特性,FILO,很方便的就可以实现进制转换。 关于栈的一系列操作,在此不再做任何赘述。我这里只是介绍一下压栈(psuhStack),和弹栈(popStack): 1.压栈:就是把元素一个一个的压入栈中。例如:八进制的数值 12345670 进栈... 阅读全文
posted @ 2015-11-14 15:53
方家小白
阅读(46)
评论(0)
推荐(0)

浙公网安备 33010602011771号