|
-
May 3rd, 2009, 07:21 PM
#2
Re: Error C2440 '=' can not convert
I suspect you're trying to copy the data in one array into another array. However, what that statement says is that you want to redirect the pointer. which is definitely wrong in this case (not just the type conversion---you'd lose the malloced memory too).
Try using std::copy.
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
|