|
-
April 25th, 2013, 01:28 AM
#2
Re: error C2106: '=' : left operand must be l-value
 Originally Posted by dedite
Code:
int sumrow0, sumrow1, sumrow2, sumrow3, sumrow4; /* declares sumrow0, sumrow1, sumrow2, sumrow3, sumrow4 to be a int variable */
sumrow0 = val[0][0] + val[0][1] = val[0][2] + val[0][3] + val[0][4];
And what are you going to achieve with this strange assignment?
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|