On Thu, Sep 25, 2003 at 09:16:43AM -0700, Shannon Francis wrote:

> i tried to build a program and have only one error but seem not to be
> able to fix it. i think it is a rather small one. i would really
> appreciate it if you help me with this situation:
>  
>  if (num1 %2 =0)
> the error is: error C2106: '=' : left operand must be l-value.
>  
> thank you very much. i await your answer.

Wow!  How did you find this list?  The last message I got here was over
two years ago.

And how did you choose this list?  Its name has little to do with your
problem.

In any case, try

    if (num1 % 2 == 0)

and look for a C list or newsgroup for any subsequent problems you might
have.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to