![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言
ychljx
这个作者很懒,什么都没留下…
展开
-
c语言:字符串合并
/* * 名称:合并字符串 * 日期: 2015-06-05 * 参数: myStrCat(char *p1,char *p2,char resault[]) //p1 p2输入 resault结果 * 用途:合并2个字符串到一个字符数组 */ #include #include int main(int argc, char const *argv[])原创 2015-06-05 23:14:48 · 821 阅读 · 0 评论 -
C连接mysql数据库,报/usr/bin/ld: cannot find -lmysqlclient解决
使用mysql5.625,rpm安装 操作系统red hat 6 32位 写一个数据库连接测试程序 编译:gcc -o ex2 -g ex2.c -I /usr/include/mysql/ -L /usr/lib/ -lmysqlclient 报错 :/usr/bin/ld: cannot find -lmysqlclient 查看 usr/lib目录下 没有找到 li原创 2015-06-30 10:53:00 · 325 阅读 · 0 评论