技术改变命运
发布时间:2016-09-24 22:23:09
char *mystrcpy(char *dest,char *src,int n){ char *newdest = dest; assert((dest != NULL) && (src != NULL)) while (n &&((*dest++ = *src++) != '\0')) { n--; } if (n)&nbs.........【阅读全文】
发布时间:2016-09-23 18:52:40
char *strtok(char s[], const char *delim);点击(此处)折叠或打开#include<iostream>#include<string.h>#include<string>using namespace std;int main(){ char str[] = "Hello wor.........【阅读全文】