A quick question, when you said
"I am making it in C++ Because IIS sounds a bit out of my league"

I dont see any C++ codes in the example you've given, do you mean a seperate application for your database?