摘要:
对nextval的实现还暂时停留在会算的地步上 No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 a b a c b a a a b c a b a a next 0 1 1 2 1 1 2 2 2 3 1 2 3 4 nextval 0 1 0 2 1 0 2 2 1 3 0 阅读全文
posted @ 2020-11-21 21:19
倔强的不死人
阅读(363)
评论(0)
推荐(0)
摘要:
#include<iostream> #include <cstring> #include <fstream> using namespace std; #define MAXLEN 20 /* 病毒检测,BF算法,匹配子串 */ typedef struct{ char ch[MAXLEN+1] 阅读全文
posted @ 2020-11-21 20:18
倔强的不死人
阅读(469)
评论(0)
推荐(0)
摘要:
#include<iostream> #include <cstring> using namespace std; #define MAXLEN 255 /* BF算法,匹配子串 */ typedef struct{ char ch[MAXLEN+1]; int length; }SString; 阅读全文
posted @ 2020-11-21 12:13
倔强的不死人
阅读(251)
评论(0)
推荐(0)
摘要:
包含头文件 #include <cstring> int main(){ string e = "abcdef1"; char buf[] = {0}; strcpy(buf,e.c_str()); //cout << e.c_str() << endl; //c_str是一个内容为字符串指向字符数 阅读全文
posted @ 2020-11-21 11:44
倔强的不死人
阅读(450)
评论(0)
推荐(0)

浙公网安备 33010602011771号