摘要:
/*字符串匹配*/#includeusing namespace std;void get_next(string T,int *next){//朴素算法 int i,j; i=1; j=0; next[1]=0; while(iT.length()) return i-T.length(); e... 阅读全文
posted @ 2015-07-01 16:41
朱传林
阅读(131)
评论(0)
推荐(0)
摘要:
主要是栈的应用,里面有两个函数deleteSpace(),stringToDouble()在我另一篇博客当中:对string的一些扩展函数。 本程序只是基本的功能实现,没有差错控制。#include#include#include#include#include"fstring.h"/* ... 阅读全文
posted @ 2015-07-01 14:41
朱传林
阅读(172)
评论(0)
推荐(0)

浙公网安备 33010602011771号