Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Copy files with out using SHFileOperation Pin
Rajkumar R6-May-08 5:29
Rajkumar R6-May-08 5:29 
GeneralRe: Copy files with out using SHFileOperation Pin
itsh116-May-08 5:47
itsh116-May-08 5:47 
GeneralRe: Copy files with out using SHFileOperation Pin
David Crow6-May-08 6:01
David Crow6-May-08 6:01 
QuestionRe: Copy files with out using SHFileOperation Pin
David Crow6-May-08 6:00
David Crow6-May-08 6:00 
QuestionSetFilePointer Pin
john56326-May-08 3:16
john56326-May-08 3:16 
AnswerRe: SetFilePointer Pin
CPallini6-May-08 3:23
mveCPallini6-May-08 3:23 
QuestionCList::RemoveAt Pin
piul6-May-08 2:09
piul6-May-08 2:09 
AnswerRe: CList::RemoveAt Pin
Nelek6-May-08 2:17
protectorNelek6-May-08 2:17 
piul wrote:
Does the list re-arrange itself to fill that gap??


Yes and no. The good thing from a List vs an array is (in grosso modo): that every node is pointing to next and previous node. So when you delete one position, you dont have to rearrange anything, just modify 2 pointers the "next" in the previous node and the "previous" in the next node. Then the node in the middle is not in the list anymore and can be just deleted without problems.

piul wrote:
Does it have to be done manually, remove a node, and then shift the rest of elements one position??

You dont have to move anything, a list is not an array.

Greetings.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

AnswerRe: CList::RemoveAt Pin
toxcct6-May-08 2:18
toxcct6-May-08 2:18 
AnswerRe: CList::RemoveAt Pin
Rajesh R Subramanian6-May-08 2:19
professionalRajesh R Subramanian6-May-08 2:19 
GeneralOT Pin
CPallini6-May-08 2:25
mveCPallini6-May-08 2:25 
JokeRe: OT Pin
Nelek6-May-08 2:27
protectorNelek6-May-08 2:27 
GeneralRe: OT Pin
CPallini6-May-08 2:31
mveCPallini6-May-08 2:31 
GeneralRe: OT Pin
Rajesh R Subramanian6-May-08 2:32
professionalRajesh R Subramanian6-May-08 2:32 
GeneralRe: OT Pin
CPallini6-May-08 2:38
mveCPallini6-May-08 2:38 
GeneralRe: OT Pin
Rajesh R Subramanian6-May-08 2:47
professionalRajesh R Subramanian6-May-08 2:47 
GeneralRe: OT Pin
CPallini6-May-08 3:00
mveCPallini6-May-08 3:00 
AnswerRe: CList::RemoveAt Pin
CPallini6-May-08 2:22
mveCPallini6-May-08 2:22 
GeneralRe: CList::RemoveAt Pin
piul6-May-08 2:29
piul6-May-08 2:29 
GeneralRe: CList::RemoveAt Pin
Rajesh R Subramanian6-May-08 2:30
professionalRajesh R Subramanian6-May-08 2:30 
GeneralRe: CList::RemoveAt Pin
CPallini6-May-08 2:35
mveCPallini6-May-08 2:35 
JokeURGENT HLP PLZZ Pin
Rajesh R Subramanian6-May-08 2:40
professionalRajesh R Subramanian6-May-08 2:40 
GeneralRe: URGENT HLP PLZZ Pin
CPallini6-May-08 2:53
mveCPallini6-May-08 2:53 
GeneralRe: URGENT HLP PLZZ Pin
Rajesh R Subramanian6-May-08 3:01
professionalRajesh R Subramanian6-May-08 3:01 
GeneralRe: URGENT HLP PLZZ Pin
CPallini6-May-08 3:05
mveCPallini6-May-08 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.