2017.08.04
*gcc4.8.2 strstr返回值,用const char **
char *start;
start = strstr(haystack,search);
改为
const char *start;
start = strstr(haystack,search);
2017.08.04
*gcc4.8.2 strstr返回值,用const char **
char *start;
start = strstr(haystack,search);
改为
const char *start;
start = strstr(haystack,search);
本文标题:c++6~gcc4.8.2报错strstr返回值要用const
本文链接:https://www.haomeiwen.com/subject/cxdvlxtx.html
网友评论