How to connect C++ to MS Access? Need advice. Please help.
Dear CProgramming administrators and members,
Good day everyone. I hope everybody is in good health upon reading this thread. Well, like what the title of my thread says, may I ask if anyone could give me very basic instructions on how to connect my C++ code to MS Access file. Well, I just plan to enter an employee's name, employee's ID, his/her salary, and store those data in MS Access. Can someone recommend any website/s that I could follow step by step, pretty please? :confused:
Well, just for additional information:
- I am using Code::Blocks
- I am using MS Access 2003
- My O.S. is Windows XP Service Pack 2
I really don't know where to start. Should I download new "add-ons" to Code::Blocks? Should I make certian settings to Windows, etc. Well, I hope and pray someone could give me not codes, but tutorial/s (with explanations as possible) so that I could do and learn it on my own.
Thank you very much for the time in reading this forum. God bless everyone.
Respectfully yours,
MarkSquall
Microsoft is for Micrsoft I guess...
To Sir jeffcobb:
According to a mentor and a friend of mine, he is also recommending SQLite than using MSAccess. He said that if I'm using Microsoft Visual C++, then I should go for MSAccess, but if I'm in GNU C++(Code::Blocks), then he says better use SQLite. I'm just "required" to study how to use SQLite, hehehe....
To be honest with everybody, I came up with this idea question because I've successfully connected a Java application in MSAccess (using JDBC---I know this is way too far easy with everybody else here, but I guess I'm just a plain old student here, so please don't laugh at me... :( ), then I wonder that if I've connected a Java application in MSAccess, I just wonder IF it is possible to use GNU C++ and MSAccess together, and like what Elysia said, I could find tutorials and codes from his/her recommended web site.
Thanks everyone for the knowledge you gave, though I find it difficult to program database, I'm still willing to learn, And give it a shot (oooh yeah! hahaha). Thanks again.
Respecfully yours,
MarkSquall