Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: graphing app help Pin
Reagan Conservative27-Sep-06 8:46
Reagan Conservative27-Sep-06 8:46 
QuestionHDC coordinate space Pin
anthonym727-Sep-06 6:55
anthonym727-Sep-06 6:55 
AnswerRe: HDC coordinate space Pin
Chris Losinger27-Sep-06 7:15
professionalChris Losinger27-Sep-06 7:15 
GeneralRe: HDC coordinate space Pin
anthonym727-Sep-06 7:35
anthonym727-Sep-06 7:35 
GeneralRe: HDC coordinate space Pin
Shog927-Sep-06 20:17
sitebuilderShog927-Sep-06 20:17 
GeneralRe: HDC coordinate space Pin
anthonym728-Sep-06 6:13
anthonym728-Sep-06 6:13 
QuestionLinked lists Pin
EvScott27-Sep-06 6:12
EvScott27-Sep-06 6:12 
AnswerRe: Linked lists Pin
Zac Howland27-Sep-06 6:39
Zac Howland27-Sep-06 6:39 
An array is a set of contiguous memory allocated for a set of objects. For example, if you have an array of 10 integers, you will have a memory section the size of 10 integers (with 4-byte integers, that is 40 bytes) allocated to hold them.

Linked lists hold extra pointers to previous and next elements in the list in addition to the object you want. The memory is not contiguous, so when you add a new element to the list, memory is allocated for that element (and the pointers to its next and previous elements in the list).

Arrays (or vectors) are used when you need fast random access to elements. Linked lists are used when you need quick insertion/removal of elements.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: Linked lists Pin
Jörgen Sigvardsson27-Sep-06 13:46
Jörgen Sigvardsson27-Sep-06 13:46 
AnswerRe: Linked lists Pin
Christian Graus27-Sep-06 11:28
protectorChristian Graus27-Sep-06 11:28 
Questionhow to display a rectangle on the CHtmlView? Pin
blownfire27-Sep-06 5:13
blownfire27-Sep-06 5:13 
AnswerRe: how to display a rectangle on the CHtmlView? Pin
Maximilien27-Sep-06 6:48
Maximilien27-Sep-06 6:48 
QuestionError after call ReadDirectoryChangesW() Pin
Max++27-Sep-06 4:12
Max++27-Sep-06 4:12 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
Chris Losinger27-Sep-06 4:52
professionalChris Losinger27-Sep-06 4:52 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
toxcct27-Sep-06 5:09
toxcct27-Sep-06 5:09 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
David Crow27-Sep-06 5:10
David Crow27-Sep-06 5:10 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
Hamid_RT28-Sep-06 9:23
Hamid_RT28-Sep-06 9:23 
Questionproblem in recording sound on server Pin
itbuff27-Sep-06 3:57
itbuff27-Sep-06 3:57 
QuestionProblem using CList ? Pin
GudduRanchi27-Sep-06 3:34
GudduRanchi27-Sep-06 3:34 
QuestionHow i can prevent right click in windows explorer Pin
sudarshan12427-Sep-06 2:51
sudarshan12427-Sep-06 2:51 
AnswerRe: How i can prevent right click in windows explorer Pin
Chris Losinger27-Sep-06 4:25
professionalChris Losinger27-Sep-06 4:25 
AnswerRe: How i can prevent right click in windows explorer Pin
George L. Jackson27-Sep-06 5:27
George L. Jackson27-Sep-06 5:27 
GeneralRe: How i can prevent right click in windows explorer Pin
Chris Losinger27-Sep-06 5:45
professionalChris Losinger27-Sep-06 5:45 
GeneralRe: How i can prevent right click in windows explorer Pin
George L. Jackson27-Sep-06 12:48
George L. Jackson27-Sep-06 12:48 
AnswerRe: How i can prevent right click in windows explorer Pin
Jörgen Sigvardsson27-Sep-06 13:48
Jörgen Sigvardsson27-Sep-06 13:48 

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.