Click here to Skip to main content
16,011,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Allocating memory for a large array. Pin
CPallini27-Feb-08 4:54
mveCPallini27-Feb-08 4:54 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 5:17
jonsey2984727-Feb-08 5:17 
GeneralRe: Allocating memory for a large array. Pin
led mike27-Feb-08 4:54
led mike27-Feb-08 4:54 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 5:19
jonsey2984727-Feb-08 5:19 
GeneralRe: Allocating memory for a large array. Pin
led mike27-Feb-08 5:53
led mike27-Feb-08 5:53 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 6:20
jonsey2984727-Feb-08 6:20 
GeneralRe: Allocating memory for a large array. Pin
led mike27-Feb-08 6:48
led mike27-Feb-08 6:48 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 10:53
jonsey2984727-Feb-08 10:53 
led mike wrote:
That's not really a specific topic. Depending on the definition of the struct the allocation issues can be quite different.


Can you cite some examples, my struct is simple 3 pointers to TCHARs and 2 ints.

led mike wrote:
* Heap vs Stack memory
* Memory Addressing / Pointers / Arrays
* Memory allocation and freeing
* Initialization of memory and ramifications of not initializing memory.
* Function execution, i.e., pushing the parameters onto the stack and then jumping and how they return


My score is about 3 for 5 here, I think I am getting a lesson on Heap/Stack and Allocation and freeing.

Tom
GeneralRe: Allocating memory for a large array. Pin
led mike27-Feb-08 11:19
led mike27-Feb-08 11:19 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 12:01
jonsey2984727-Feb-08 12:01 
GeneralRe: Allocating memory for a large array. [Solved -- Update] Pin
jonsey2984729-Feb-08 8:23
jonsey2984729-Feb-08 8:23 
GeneralRe: Allocating memory for a large array. Pin
Iain Clarke, Warrior Programmer27-Feb-08 5:12
Iain Clarke, Warrior Programmer27-Feb-08 5:12 
GeneralRe: Allocating memory for a large array. Pin
CPallini27-Feb-08 5:20
mveCPallini27-Feb-08 5:20 
GeneralRe: Allocating memory for a large array. Pin
Iain Clarke, Warrior Programmer27-Feb-08 5:26
Iain Clarke, Warrior Programmer27-Feb-08 5:26 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 5:22
jonsey2984727-Feb-08 5:22 
GeneralRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 5:32
jonsey2984727-Feb-08 5:32 
GeneralRe: Allocating memory for a large array. Pin
Mark Salsbery27-Feb-08 5:47
Mark Salsbery27-Feb-08 5:47 
GeneralRe: Allocating memory for a large array. Pin
Iain Clarke, Warrior Programmer27-Feb-08 5:51
Iain Clarke, Warrior Programmer27-Feb-08 5:51 
GeneralRe: Allocating memory for a large array. Pin
Mark Salsbery27-Feb-08 5:54
Mark Salsbery27-Feb-08 5:54 
GeneralRe: Allocating memory for a large array. Pin
Iain Clarke, Warrior Programmer27-Feb-08 6:05
Iain Clarke, Warrior Programmer27-Feb-08 6:05 
GeneralRe: Allocating memory for a large array. Pin
Mark Salsbery27-Feb-08 6:07
Mark Salsbery27-Feb-08 6:07 
QuestionRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 5:53
jonsey2984727-Feb-08 5:53 
GeneralRe: Allocating memory for a large array. Pin
Mark Salsbery27-Feb-08 6:04
Mark Salsbery27-Feb-08 6:04 
GeneralRe: Allocating memory for a large array. Pin
Iain Clarke, Warrior Programmer27-Feb-08 5:49
Iain Clarke, Warrior Programmer27-Feb-08 5:49 
QuestionRe: Allocating memory for a large array. Pin
jonsey2984727-Feb-08 6:02
jonsey2984727-Feb-08 6:02 

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.