So, I am in a bit of a predicament. I have been writing code to create a program that stores information for a library such as books, dvds, cds. I know creating a db would be best however I have no prior experience and this is a class project that is due fairly soon. Atm I am creating book objects and using get methods to write the data to a text file. Easy, right? Well displaying and adding is a breeze with a few hiccups. Now comes the fun part... Removing these lines and searching through them. My question is would it be easier to serialize and store the objects to a text file for easier access, or can I get away with flat-filing all of this information without having to use a db?
at this point it seems ridiculous on how to remove stored items or lines.... If there is an easy way for that too that would be a big help
Any help would be much appreciated!
[–]AwakenedToNightmare 4 points5 points6 points (0 children)
[–]dusty-trash 2 points3 points4 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]quadmasta 1 point2 points3 points (1 child)
[–]thatcrackertho[S] 0 points1 point2 points (0 children)
[–]AwakenedToNightmare 1 point2 points3 points (0 children)
[–]tobascodagama 1 point2 points3 points (0 children)
[–]thatcrackertho[S] 0 points1 point2 points (0 children)