|
-
February 24th, 2016, 09:09 PM
#1
error C2106: '=' : left operand must be l-value
hi to all,
I use Visual c++ 6.00
I have a code which in my opinion should work:
.....
CString one=" some text Q the rest of the text ";
CString two;
int x, y;
x=y=0;
while (one [x]!='Q')
two [y]=one[x]; // it gives error at this line: error C2106: '=' : left operand must be l-value
....
why don't it work?
Could anyone help me please
Thanks
Val
Tags for this Thread
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
|