Why did this error occur (see title)?
Thanks in advance
fctn(cl *cA) {
cA->dA_xsum=KA*KRVDT*(0.01*cA->dA_xfo*cA->dA_xc-cA->dA_zv1);
}
int main() {
cl cA;
fctn(&cA);
return 0;
}
class cl {
}
Why did this error occur (see title)?
Thanks in advance
fctn(cl *cA) {
cA->dA_xsum=KA*KRVDT*(0.01*cA->dA_xfo*cA->dA_xc-cA->dA_zv1);
}
int main() {
cl cA;
fctn(&cA);
return 0;
}
class cl {
}