Now, u do realize with that if statement, u need to take "out" 1 other line.
:) Otherwise, u'll have a mess on ur hands.

Remember:
        if ( *++variable == condition )  increments "before" evaluating
        if ( *variable++ == condition )  increments "after" evaluating

Keep that in mind with looking at your code and modifieing it.  :)

Rheede

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
TandonMiir
Sent: Tuesday, May 28, 2002 11:57 PM
To: [email protected]
Subject: Re: Limit color


> Just slap an if statement in there.  "if (*++pointer == '\0' ) break;"
> I'll let you figure out where to put it.  ;)
>
> Rheede

heheh... alrighty.  this is the problem with being a class room C++
learner... I'm sort of afraid to dirty my hands with the code.

Thanks man.


Reply via email to