我用mysql 4.1 安装后的 include/ 下的头文件
写了这样的程序
可是在VC6下
编译通过了
但是build 通不过 #include <windows.h>
#include "mysql.h"
#include <stdio.h>MYSQL *conn;void main() {conn = mysql_init(NULL);}请问这是什么原因啊提示
Linking...
mysqlconn.obj : error LNK2001: unresolved external symbol _mysql_init@4
Debug/new.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.new.exe - 2 error(s), 0 warning(s)
写了这样的程序
可是在VC6下
编译通过了
但是build 通不过 #include <windows.h>
#include "mysql.h"
#include <stdio.h>MYSQL *conn;void main() {conn = mysql_init(NULL);}请问这是什么原因啊提示
Linking...
mysqlconn.obj : error LNK2001: unresolved external symbol _mysql_init@4
Debug/new.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.new.exe - 2 error(s), 0 warning(s)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货