祝各位道友念头通达
GitHub Gitee 语雀 打赏
摘要: yum install postgresql-devel 安装连接postgresql 相关的库 编写 main.c 使用 gcc -g main.c -o main -I /usr/include -L /usr/lib64 -lpq 编译, 参数详解 ./main.exe 执行 2. main. 阅读全文
posted @ 2021-07-05 14:52 韩若明瞳 阅读(505) 评论(0) 推荐(0) 编辑
摘要: gcc 编译第三方库 说明: 测试文件, 连接postgresql 数据库, 需要第三方 libpq-fe.h c文件如下, 文件名为 main.c #include <stdio.h> #include <stdlib.h> /** yum install postgresql-devel */ 阅读全文
posted @ 2021-07-05 11:39 韩若明瞳 阅读(336) 评论(0) 推荐(0) 编辑