Bank Sim SQL

Hi

I've built a bank simulator just using an empty project and a .cpp file to write my code. What I want to be able to do is to be able to write all that info (account numbers, deposits, withdrawals etc) to an SQL database. I've been all over the net and looking for solutions but with no success. Ye I've had pp just tell me to look up examples.

I would like some advice and ask a few questions:

1) When I do this can I just use Empty projects with your normal .cpp file with all my code or do I need to do some setup.

2) I'm pretty damn sure I need to download something extra...like Xampp or SQLAPI, but I get the feeling there's no need for that.

3) Do I need to make multiple files in my project. i.e. something with the simulator code then something else to do all the SQL stuff.

So ye basically every time anything happens in the sim it's logged onto an SQL database. I know it's very simple just use create, insert and delete commands but all my research says it's loads more complicated than that.
Registered users can post here. Sign in or register to post.