if ( strcmp(sp2truck9, "L") == NOT_SAME && sp2truck9checker == 0)
{
cout << index <<": ";
cout <<sp2truck9<<endl;
sp2truck9checker = 1;
writefile << sp2truck9 <<endl;
}
}//end if
}//end loop ...this was declared earlier
writefile.close(); //close temp.dat...opened earlier
now i get an error requesting a ; thingy.. heres what the compiler said
error C2143: syntax error : missing '';'' before ''.''
this is on the line
writefile.close();
i have no clue whats causing this?/
help me plz?
any suggestions?
thanx in advance
...why do i get this error?
got this peice of code
BAHcows go moomoos go cow
writefile << sp2truck9 <<endl; } <------- }//end if
is that supposed to be there?
Edited by - Quantum on November 10, 2000 7:56:15 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement