Sean Keane wrote:Oh, I think I understand what you mean by period update now! You are periodically writing the contents of the cache to the data file.
I have read that people passed with this approach. But people also passed with the approach of only writing the contents of the cache to the file on shutdown.
I would go with the approach of only writing the contents of the cache to the data file on shutdown because you aren't going to get any extra marks for adding functionality for periodicly writing the cache to the file, so why bother?
nvm I just change it to updating that individual record =x
by the way
I keep getting square boxes when i read the database after writing..
example elephant[][][][]
do i need to add black space to the left over strings when using
string buffer?