Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dieseltwitch

macrumors regular
Original poster
Jan 24, 2008
142
0
Im looking to make a flight log in C+, what is the best way to go about this? basically it will just be a std database. with different ways of looking up past flights. any ideas?
 

maxvamp

macrumors 6502a
Sep 26, 2002
600
1
Somewhere out there
Im looking to make a flight log in C+, what is the best way to go about this? basically it will just be a std database. with different ways of looking up past flights. any ideas?

Quick question, Why C++?

I think if we knew a bit more on how and where you were going to use this, we could probably help more. Also you may want to figure out what DB engine you want to use ( SQLite, MySQL, etc ).

Don't re-invent the wheel if possible.

Max.
 

pilotError

macrumors 68020
Apr 12, 2006
2,237
4
Long Island
How much data are you talking about. Is this a little homegrown type of app or some large thing your talking about.

Object Oriented databases are pretty rare. Versant is about the closest, but your talking commercial stuff here.
 

maxvamp

macrumors 6502a
Sep 26, 2002
600
1
Somewhere out there
What is confusing me here is that the app needs to be written in C++.

That is usually heavy stuff. If that is the only language known, so be it. However, if the author is writing a Windows app, then C# and SQLExpress would work well, and on everything else, SQLite would work well for a DB engine. It may be a case where filemaker might even work, but that exits the realm of free DBs.

I need more info....


Max.
 

GenghisKhan

macrumors newbie
Jan 18, 2009
4
0
Although the others do have a point

Why don't you dump all the structures in a binary file. As long as you use fixed values on array sizes the structures all should be of equal size, making the reading back from the binary file an incremental thing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.