摘要: #include <Windows.h> //必须放在mysql.h前#include <WinSock.h>#include "mysql.h"#pragma comment(lib, "ws2_32.lib") //必须的int _tmain(int argc, _TCHAR* argv[]){ MYSQL * con ; char hostName[] = "localhost"; char dbName[] = "test"; char dbuser[] = "root&q 阅读全文
posted @ 2012-08-07 16:58 bizhu 阅读(685) 评论(0) 推荐(1) 编辑