摘要:
#define _CRT_SECURE_NO_WARNINGS#include#include#include//指针做输出,被调用函数分配内存 √//指针做输入,主调函数分配内存//求两段话的长度int getNum(char **myp1,int *mylen1,char **myp2,int ... 阅读全文
摘要:
1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 #include 4 #include 5 6 int inverse(char *str1,char *str2) 7 { 8 char *p1 = str1; 9 char *p2 ... 阅读全文
摘要:
1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 #include 4 #include 5 6 int getStr1Str2(char *source, char *buf1, char *buf2) 7 { 8 char *tmpSour... 阅读全文
摘要:
1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 #include 4 #include 5 6 7 int trimSpace(char *inbuf, char *outbuf) 8 { 9 char *tmpBuf = inbuf;10... 阅读全文
摘要:
1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 #include 4 #include 5 6 int method() 7 { 8 char *p = "123abcd23sdfwee131abcd12344abcd"; 9 int... 阅读全文