|
-
January 27th, 2010, 10:37 AM
#3
Re: [MFC] vector-shift-left
There is no vector class in MFC, and no, there is no function to do that automatically. You need to do that manually.
If you use a list, you can remove the first element and and one at the tail.
If you use an array, you have to copy the elements, one by one, from i+1 to i, and then set the value you want for the last element.
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
|