Newbie - odbc/mysql
-
Hi again I hava another question for you but this i time i'm completly lost. I need to connect to a database in order for retriving and storing. I've never done something simmilar before so i have no idea. i prefer to use mysql database. i've read something about odbc and thats what i'm willing to use(if u have other suggestions pls tell me) Any way can anybody tell me what i need to include and what are the first steps of the code to connect to the database(is it possible to avoid wizards). Also do u have any good reference on this matter which i can read to get a good understanding of how odbc works. Thanks in advance
-
Hi again I hava another question for you but this i time i'm completly lost. I need to connect to a database in order for retriving and storing. I've never done something simmilar before so i have no idea. i prefer to use mysql database. i've read something about odbc and thats what i'm willing to use(if u have other suggestions pls tell me) Any way can anybody tell me what i need to include and what are the first steps of the code to connect to the database(is it possible to avoid wizards). Also do u have any good reference on this matter which i can read to get a good understanding of how odbc works. Thanks in advance
Here is a semi-relevant article.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
Hi again I hava another question for you but this i time i'm completly lost. I need to connect to a database in order for retriving and storing. I've never done something simmilar before so i have no idea. i prefer to use mysql database. i've read something about odbc and thats what i'm willing to use(if u have other suggestions pls tell me) Any way can anybody tell me what i need to include and what are the first steps of the code to connect to the database(is it possible to avoid wizards). Also do u have any good reference on this matter which i can read to get a good understanding of how odbc works. Thanks in advance
This article is ok: http://www.coding-zone.co.uk/cpp/ARTICLES/090101accessodbc.shtml[^] However, to simplify things you may want to wrap all this ugly ODBC API into a class. This (like so many things around) has already been done. Search CodeProject, I believe there are several such articles.