So I've been looking for projects to work on lately. Many of them involve programming and a few entail hacking apart some hardware. My newest project, if I can get it off of the ground, is working on an open-source application to store patient information which can then be used for reporting. To accomplish this, I will have to learn how to combine too of my favorite programming tools, C++ and MySQL. Both powerful in their own right; together they could create some killer applications. Here is a snippet of code I grabbed from Suite 101, a C++ programming website with lots of tasty articles for cooking up some sweet code. This is the required header information. Enjoy :)
#include
#include
using namespace std;
MYSQL *connection, mysql;
MYSQL_RES *result;
MYSQL_ROW row;
int query_state;
int main() {
return 0;
}
You can go to Suite 101 to find more information about how to do this.
No comments:
Post a Comment