I understand that title was rather vague, but it still holds true. Lurking these forums I have noticed how incomplete my 2 year education on C++ really is, and I am asking for your help in area's, maybe just pointing me to some resources, etc.
First off i am using dev C++ and I thought about using visual C++ 2005 (8.0?) Express edition. I am just going to type out the "Psuedo-Code" version of what my actual goal is.
I would also like to mention that I have done absolutely NO GUI programming, so this is all being ran on a PC in a DOS-type window.
I want to create a trivia "bot" although it's probably more like a game.
It will first ask you for a username/password, it will then check a mySQL db for existing username, and if the username does exist it will check the password. If both values are correct, then it will "log you in". The actual priority isn't a "log-in" system, just a system where people cannot begin the trivia without first having to "register" which is more like creating a username in the db. If they do not have a username they will then be prompted to create one. (I am a little lost with the MySQL, so if you have a resource or two I would appreciate it.)
It will then give you a selection of categories. I already have my question system setup, basically it generates a random number using srand and rand, and asks a question based upon that number. I am going to try and populate it with 100-200 questions for each category, I'm planning on implementing 5+ categories.
Everytime you answer a question correctly, it will use a sumation counter, and add +1 to your score. Once you answer 10 questions in the category, it goes back and will bring you to choose another category, or the same one, all the while keeping the points you earned. It will keep doing this until you type the string 'exit'. When you type exit, It will then write your username, Email, and points to a file, and upload it to a webserver. I aleady have a webserver, and I know how to make a page to display the file. For the upload I am planning on using CKUpload (Chillkat upload) But I think it's only for VC++ 2005, a compiler I'm not fammiliar with what so ever. I was also told of wput, but yeah, it's a little odd.
That's basically the gist of my program. Any and all help you give would be greatly appreciated. Thanks.