# Define destdio. h # includewindows. h # shortdemysql. hmysql. h. The header file uses windows. h, but it does not include others. As a result, I created a console project to import mysql. after h, I thought I could connect to the database. A bunch of mysql_com.h errors were found, so I was depressed! MySQL later users should remember that whether your project is win32 or not
# Include stdio. h # include windows. h # include mysql. h mysql. h. The header file uses windows. h, but it does not include others. As a result, I created a console project to import mysql. after h, I thought I could connect to the database. A bunch of mysql_com.h errors were found, so I was depressed! MySQL later users should remember that whether your project is win32 or not
# Include <stdio. h> # include <windows. h> # include <mysql. h>
The mysql. h header file uses windows. h, but does not contain others. As a result, I created a console project.
After importing mysql. h, I thought I could connect to the database. As a result, a bunch of mysql_com.h errors were reported, which is depressing!
After MySQL, remember that whether your project is win32 or not, you must import the windows. h file before mysql. h!