undefined reference to strrev 解决方案

其实strrev这个函数不是系统库里面的,编译器不自带,要是出现undefined reference to strrev这个报错怎么办呢,那就本身写一个喽,😀web #include <stdio.h> #include <string.h> #include <stdlib.h> char* strrev(char *str) { char *p1, *p2; if (!
相关文章
相关标签/搜索