How to read an initialization file.

14 Feb
2003
14 Feb
'03
5:39 a.m.
I'm stuck on a problem in a program and I suspect one that I will keep encountering. I need to be able to read from an initialization file a set of values, as a simple example let us take three variables: base_dir, user_name, log_file. I need to be able to access these values effieiently and from virtually anywhere in the program. It would be nice to "at some point" open the file and read all these variables, all at once. Can anyone help?
8131
Age (days ago)
8131
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thaddeus L. Olczyk