By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,576 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,576 IT Pros & Developers. It's quick & easy.

File Access & The Novice Programmer

P: n/a
For my previous project, I stored persistent data from Structures in three
different Random Access files between sessions, but that's not likely to be
an option with this one...

For starters, I'm trying to become more 'class-aware' with my code in this
project. I've declared those global variables which will be written to and
read from files in their own class, named VariableTemplate, and
instantiated it globally with 'Friend Variable as VariableTemplate.'

Additionally, if I use multiple files I'll need to preface the data in each
file with a common randomly-generated number to ensure that all files to be
loaded were written in the same program session, from the same dataset.

I'd be obliged if somebody could point me toward my best option given these
constraints... and more obliged if they could direct me toward a good
novice-geared reference on the subject.
Feb 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
DWS
search for guid

"The Confessor" wrote:
For my previous project, I stored persistent data from Structures in three
different Random Access files between sessions, but that's not likely to be
an option with this one...

For starters, I'm trying to become more 'class-aware' with my code in this
project. I've declared those global variables which will be written to and
read from files in their own class, named VariableTemplate, and
instantiated it globally with 'Friend Variable as VariableTemplate.'

Additionally, if I use multiple files I'll need to preface the data in each
file with a common randomly-generated number to ensure that all files to be
loaded were written in the same program session, from the same dataset.

I'd be obliged if somebody could point me toward my best option given these
constraints... and more obliged if they could direct me toward a good
novice-geared reference on the subject.

Feb 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.