"lvalue required as left operand of assignment " error

Posted by Aidan on Stack Overflow See other posts from Stack Overflow or by Aidan
Published on 2010-06-16T01:19:51Z Indexed on 2010/06/16 1:22 UTC
Read the original article Hit count: 222

Filed under:

Hey guys,

The following code produces a "lvalue required as left operand of assignment"

if( c >= 'A' && c <= 'Z'  || c = " " || c = ",") {

I assume I'm writing this wrong, what is wrong? and how would I write it correctly? I would appreciate any help! :)

Thanks.

© Stack Overflow or respective owner

Related posts about c