I am new to conneting to MYSQL through a C++ code; so this is what i did
i installed MySQL Server 5.1 (it was a EXE), and thats it. i opened the MYSql command line client and created a DB, and added a table and values to it.
This is my code in C++ (I'm using VS2008)
#include "stdafx.h"
#include <iostream>
#include <mysql.h>
#include <windows.h>
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
I get an error that prints fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
What have i done wrong.. can some one help me fix this ASAP.