Configuring the MySQL database on codeblocks

Source: Internet
Author: User

Recent contact participle, in C language faster, so ....

Codeblocks Download: HTTP://WWW.CODEBLOCKS.ORG/DOWNLOADS/26

If not configured MinGW can download the following two:

Codeblocks-13.12mingw-setup.exe

Codeblocks-13.12mingw-setup-tdm-gcc-481.exe

I installed it locally, so I downloaded it:

Codeblocks-13.12-setup.exe

It's all Windows configuration, and I'm using WINDOWS8.

Don't want to say more, direct configuration tablets:

path to configure Libmysql.lib on 1,setting->compiler


Configuring Mysql.h Paths in 2,search directories


That's all #include <mysql.h>. Do not forget to write before this #include<winsock2.h> can not return the socket type of error!



Configuring the MySQL database on codeblocks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.