This amongst other things truncates data that are two long for a VARCHAR field with a warning instead of giving an error. It requires the user to login again.
Connect MySQL with Dev-C++: Follow the steps outlined in this tutorial: MySQL Connection Tutorial to set up MySQL connection with Dev-C++. Copy Source Code: Copy the source code provided in LMS.cpp.