I looked at my code and it's seems that I can create instance of MySQL in main.

void main()
{
auto parseconfig = new parseConfig();
auto mysql = new MySQL(parseconfig, seismodownload);
}

In parseConfig I am creation instance of seismoDownload:

class parseConfig
{
....
if (checkLinkCode(emsc_csem) == 200)
{
auto seismodownload = new seismoDownload(emsc_csem);
seismodownload.parse();
}
....
}

So I should be able to call it in main ( I talk about "auto mysql = new MySQL(parseconfig, seismodownload);")


But I am getting error:
Error: undefined identifier seismodownload, did you mean class seismoDownload?

Reply via email to