std.stream.File help required (and classes)

akaz nemo at utopia.com
Tue Mar 27 08:50:55 PDT 2012


Thank you. But why do I lose access to my std.stream.File file? 
Somehow, the variable gets unallocated, thus the file is closed 
back?

With pointers of C it used to be so simple... variable remained 
allocated untel the corresponding free().

I do not quite grasp this (a bit) awkward mix between pointers 
and classes (references?). Sometimes is like C/C++, sometimes is 
like Java...



More information about the Digitalmars-d-learn mailing list