I have the ";", but still error

An error said expected unqualified-id before for and expect ";" before "for", but i definitely have all the ";", whats Wrong, please help me, thx a alot

for(int i=0; i<Nel; i++) // loop on the element
{
for(int j=0; j<Npnt; j++) // Point of evaluation
{
for(int k=0; k<3; k++) // 3 conservative variables
{
VTemp[j][i][k]=VarPriF[j][i][k];
}
}
}
Last edited on
before
It said it expected the semicolon before the for, so look at the line above the for (not posted here) and make sure it ends with a semicolon.

EDIT:
Or if that's not the issue, please post the full error and tell us exactly which line it's on.
Last edited on
Topic archived. No new replies allowed.