- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 KMP算法
#include #include void Next(char *str,int *next); int FindStr(char *bigStr,char *smallStr, int *next); void main() { char bigStr[30],smallStr[8]; int next[4]; //next的长度应该为smallStr的一半
2011-10-24 22:19:14 378
原创 第16章习题2
#include #include char BREED[6][10] = { "YORKIE", "CAIRN", "DANDIE", "SHETLAND", "DOBERMAN", "LAB" }; class Mammal { public: // constructors Mammal(): age(2), weight(5) {} ~Mammal(){}
2011-10-20 22:19:55 470
原创 约瑟夫环
#include #include typedef struct YueSeFuHuan { int num; struct YueSeFuHuan *next; struct YueSeFuHuan *before; }YueSeFu; Yue
2011-10-13 23:23:59 858
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人