Hello,
here is my code:
int B[5];
trida *B[1] = new trida(); // here is error
trida *B[2] = new trida(); // here is error
int hod;
hod = B[1]->jakatrida(10); // here is error
dbPrint(dbStr(hod));
hod = B[2]->jakatrida(12); // here is error
dbPrint(dbStr(hod));
trida *B[1] = new trida();
I would like to use an array, i have forgotten, how to make it, Could you help me please ?
Class is defined, there is no problem i think.
PS: Real programmers aren't afraid of math!.
AMD 64x 3500+, 6GB RAM, GeForce 8800 GTS 320MB, HD 500GB, X-fi xtreme audio