2014年11月18日

linux动静态库使用

摘要: #include#include "cac.h"int main(void){ printf("add = %d\n" ,add(5,3)); printf("sub = %d\n" ,sub(5,3)); return 0;}int add(int a,int b){ re... 阅读全文

posted @ 2014-11-18 22:29 kangbry 阅读(226) 评论(0) 推荐(0) 编辑

mysql使用

摘要: #include #include #include #include "mysql.h"MYSQL *mysql;MYSQL_RES *results;MYSQL_ROW record;char *server_options[] = { "mysql_test", "--defaults-fil... 阅读全文

posted @ 2014-11-18 18:55 kangbry 阅读(197) 评论(0) 推荐(0) 编辑

导航