C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 22nd, 2002, 12:02 AM
Saaden Saaden is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 0 Saaden User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post C and databases

I think this is where this belongs as its partly databases as well ... if not then hopefully someone can point me in the right direction.

Here's what I'm planning:

To familiarize myself a little more with mySQL and C++ and how to work with both of them to create a finished program is my goal of this little pet project.

I'm going to be working on a tactical game, if you will, where there are entries in the database that contain the strengths, numbers, etc of each individual unit I'm going to be creating. I've already got the plan laid out for this, and all I need to do it insert it into a table in mySQL, transfer it from my notebook to notepad

I want to take user input from a form on a webside and store it in a queue until I am midnight every night when I will take all the information from the queue, use C++ for all the calculations, checks and what not to make sure the move is legal, and then update the database directly with this information.

Then, after the queue is empty the program will export the new database file onto my webserver so that the client I'm going to create will be able to take the read only database and display the information on a map of octagons (this *should* be a simple visual c++ job).

Now, is there a website, book, etc that I can view in order to get a good idea at just what I'm looking at doing, and how to approach the more difficult problems? Such as, if a fire order is given I have to pull the information from the database on the unit that is firing and the unit that is recieving the fire, calculate the damage and write the modified numbers back into the database all within a reasonable amount of time, if the unit count gets fairly large.

Whats the best medium to store the information from the web until I'm ready to process it. A friend of mine suggested that an e-mail account is a perfect way to have a queue setup without having to go through too much trouble programming ... but it would be interesting, for me, to write a program that would pull e-mails off of the net, read them and then store them in a queue to be processed.

Anyway, I hope thats enough detail on what I'm trying to do with this project of mine. Like I said, any information on resources I can look at would be greatly appreciated, or even any input here or at my e-mail address: URL

Thanks again!

Reply With Quote
  #2  
Old July 29th, 2002, 01:39 AM
Michael_Bray Michael_Bray is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Sydney, NSW, Australia
Posts: 40 Michael_Bray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to Michael_Bray
Buy a book called MySQL by Paul DuBois. It's a great book, that has examples in C.
__________________
Cheers,
Michael Bray

Reply With Quote
  #3  
Old July 29th, 2002, 05:07 PM
Saaden Saaden is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 0 Saaden User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks a bunch, I went and ordered that book from Books a Million today, will check it out and hopefully answer all the questions that I had

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > C and databases


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway