Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

expected primary-expression before ‘=’ token

$
0
0

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 {

}


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>