摘要:
#include #include #include #include #include using namespace std; void del(char *str,char *sub) { char *head = NULL; char *p = NULL; head = p = str; int sublen = strlen(sub); ... 阅读全文
摘要:
#include #include #include #include #include using namespace std; void del(char *str,char c) { char *head = NULL; char *p = NULL; head = p = str; while(*p != '\0') { ... 阅读全文
摘要:
#include #include #include #include #include using namespace std; void convert(int num,vector &value) { if(num) { value.push_back(num%10); convert(num / 10,value); ... 阅读全文
摘要:
nt second(int value[],int n) { int first = value[0]; int second = value[1]; int i = 0; for(i = 0;i first) { second = first; first = value[i]; ... 阅读全文