摘要:
apt-get install libmysqlclient-devmysql 使用的是xampp 需要指定sock源码:main.c#if defined(_WIN32) || defined(_WIN64) //为了支持windows平台上的编译#include <windows.h>#endif#include <stdio.h>#include <stdlib.h>#include <mysql/mysql.h> //我的机器上该文件在/usr/local/include/mysql下 //定义数据库操作的宏,也可以不定义留着后面直接写进 阅读全文
摘要:
参考库libftp(though it's in C)ftplib(again, looks like C)libCurlseems to have FTP capabilities.ace源码:main.c#include <stdio.h>#include <string.h>#include <curl/curl.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <errno.h>#ifdef WIN32 阅读全文