Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: catching memory exception Pin
Sakhalean7-Jun-10 21:10
Sakhalean7-Jun-10 21:10 
GeneralRe: catching memory exception Pin
Stephen Hewitt7-Jun-10 21:12
Stephen Hewitt7-Jun-10 21:12 
GeneralRe: catching memory exception Pin
Sakhalean7-Jun-10 21:22
Sakhalean7-Jun-10 21:22 
GeneralRe: catching memory exception Pin
Stephen Hewitt7-Jun-10 21:39
Stephen Hewitt7-Jun-10 21:39 
GeneralRe: catching memory exception Pin
Sakhalean7-Jun-10 22:55
Sakhalean7-Jun-10 22:55 
GeneralRe: catching memory exception Pin
Cedric Moonen7-Jun-10 23:18
Cedric Moonen7-Jun-10 23:18 
GeneralRe: catching memory exception Pin
Sakhalean8-Jun-10 1:19
Sakhalean8-Jun-10 1:19 
GeneralRe: catching memory exception Pin
Cedric Moonen8-Jun-10 1:30
Cedric Moonen8-Jun-10 1:30 
Did you actually have a look at the suggestions that were given to you or you just expect that somebody provides the solution on a silver plate to you ?
Did you look at the std::vector documentation ? What's the problem with using a vector ? Did you rewrite your code properly so that your allocations and deallocations are hidden in a class so that it is not spread across the whole program (aka encapsulate your data properly). As long as you don't show us precisely how the memory is allocated and deallocated, we won't be able to help. I suppose you didn't do it because it is too complicated because everything is spread across your code. One additional reason to try to encapsulate your data.

If you want help from us, you will need to read and try to understand what people are telling you, not expect a complete solution.
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

GeneralRe: catching memory exception Pin
David Crow8-Jun-10 2:58
David Crow8-Jun-10 2:58 
GeneralRe: catching memory exception Pin
Cedric Moonen8-Jun-10 7:53
Cedric Moonen8-Jun-10 7:53 
GeneralRe: catching memory exception Pin
Stephen Hewitt8-Jun-10 14:15
Stephen Hewitt8-Jun-10 14:15 
AnswerRe: catching memory exception Pin
Aescleal7-Jun-10 21:17
Aescleal7-Jun-10 21:17 
QuestionConversion of DWORD to time Pin
Nikesh Jagtap7-Jun-10 20:43
Nikesh Jagtap7-Jun-10 20:43 
AnswerRe: Conversion of DWORD to time Pin
Stephen Hewitt7-Jun-10 21:00
Stephen Hewitt7-Jun-10 21:00 
AnswerRe: Conversion of DWORD to time Pin
Richard MacCutchan7-Jun-10 21:29
mveRichard MacCutchan7-Jun-10 21:29 
AnswerRe: Conversion of DWORD to time Pin
CPallini7-Jun-10 21:43
mveCPallini7-Jun-10 21:43 
QuestionStd::string loadstring??? Pin
gmallax7-Jun-10 20:12
gmallax7-Jun-10 20:12 
AnswerRe: Std::string loadstring??? Pin
Hristo-Bojilov7-Jun-10 20:30
Hristo-Bojilov7-Jun-10 20:30 
AnswerRe: Std::string loadstring??? Pin
Stephen Hewitt7-Jun-10 20:31
Stephen Hewitt7-Jun-10 20:31 
AnswerRe: Std::string loadstring??? Pin
Randor 7-Jun-10 20:44
professional Randor 7-Jun-10 20:44 
JokeRe: Std::string loadstring??? Pin
Randor 7-Jun-10 21:21
professional Randor 7-Jun-10 21:21 
GeneralRe: Std::string loadstring??? Pin
Stephen Hewitt7-Jun-10 21:28
Stephen Hewitt7-Jun-10 21:28 
GeneralRe: Std::string loadstring??? Pin
Randor 7-Jun-10 22:34
professional Randor 7-Jun-10 22:34 
GeneralRe: Std::string loadstring??? Pin
Randor 8-Jun-10 0:29
professional Randor 8-Jun-10 0:29 
GeneralRe: Std::string loadstring??? Pin
Stephen Hewitt8-Jun-10 14:16
Stephen Hewitt8-Jun-10 14:16 

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.