How to create instance of class that get data from 2 another instance?
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jan 1 14:15:51 PST 2015
I have instance of class, that need data from 2 another classes.
So I decided that I need to create it only after I get the data
from both instance.
auto mysql = new MySQL(parseconfig, seismoDownload); // the
problem is here! (LOC 170)
mysql need settings form parseconfig, and link from instance of
seismoDownload class.
But I am getting error: undefined identifier parseconfig, did you
mean class p
arseConfig?
What I am doing wrong?
http://www.everfall.com/paste/id.php?iwh4qdcqv6zi
More information about the Digitalmars-d-learn
mailing list