On 2002.01.18 18:36 Philip Plante wrote:
> Ok when I try to compile my particle engine code I am for somereason
> getting:
> error C2143: syntax error : missing ')' before ';'
> on this code:
> void ParticleSystem::Render(void)
> {
>
> int i;
> while( i < MAX_PARTICLES)
> {
> /*code*/
> }
> }
>
> But I dont know why the hell its doing that Any clues why it is?
It appears to be that you are missing a ; after the first }. Here is the
fixed code.
void ParticleSystem::Render(void)
{
int i;
while( i < MAX_PARTICLES)
{
/*code*/
};
}
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders