Click here to Skip to main content
15,906,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Out of Memory Exception in C++ Pin
SeattleC++14-Aug-17 5:03
SeattleC++14-Aug-17 5:03 
On average, std::string allocates enough memory to hold 1.5x the size of the actual string. (This is a rule of thumb), plus 2 pointers of overhead. This could be your problem, depending how many strings you have per row. Depending how you've written your data structure, it's quite likely that you have really exhausted memory. You need to rethink the problem so to solve it using less memory.

AnswerRe: Out of Memory Exception in C++ Pin
leon de boer12-Aug-17 19:00
leon de boer12-Aug-17 19:00 
GeneralRe: Out of Memory Exception in C++ Pin
SeattleC++14-Aug-17 4:54
SeattleC++14-Aug-17 4:54 
AnswerRe: Out of Memory Exception in C++ Pin
S p k 52118-Aug-17 0:09
S p k 52118-Aug-17 0:09 
Questionwhat is the value of y after the following statements? Pin
Member 133469949-Aug-17 9:30
Member 133469949-Aug-17 9:30 
AnswerRe: what is the value of y after the following statements? Pin
Richard Deeming9-Aug-17 9:38
mveRichard Deeming9-Aug-17 9:38 
GeneralRe: what is the value of y after the following statements? Pin
«_Superman_»15-Aug-17 16:57
professional«_Superman_»15-Aug-17 16:57 
QuestionUSB eject notification Pin
john56328-Aug-17 2:59
john56328-Aug-17 2:59 
AnswerRe: USB eject notification Pin
Jochen Arndt8-Aug-17 3:09
professionalJochen Arndt8-Aug-17 3:09 
GeneralRe: USB eject notification Pin
Munchies_Matt8-Aug-17 4:19
Munchies_Matt8-Aug-17 4:19 
JokeRe: USB eject notification Pin
Randor 8-Aug-17 4:43
professional Randor 8-Aug-17 4:43 
GeneralRe: USB eject notification Pin
Daniel Pfeffer8-Aug-17 5:15
professionalDaniel Pfeffer8-Aug-17 5:15 
GeneralRe: USB eject notification Pin
Munchies_Matt8-Aug-17 6:57
Munchies_Matt8-Aug-17 6:57 
GeneralRe: USB eject notification Pin
john56328-Aug-17 22:29
john56328-Aug-17 22:29 
GeneralRe: USB eject notification Pin
Jochen Arndt8-Aug-17 23:43
professionalJochen Arndt8-Aug-17 23:43 
GeneralRe: USB eject notification Pin
john56329-Aug-17 2:01
john56329-Aug-17 2:01 
GeneralRe: USB eject notification Pin
Jochen Arndt9-Aug-17 2:14
professionalJochen Arndt9-Aug-17 2:14 
AnswerRe: USB eject notification Pin
Randor 9-Aug-17 2:43
professional Randor 9-Aug-17 2:43 
QuestionCSplitterWnd with MDI Child Windows Pin
Member 1327791131-Jul-17 3:25
Member 1327791131-Jul-17 3:25 
QuestionRe: CSplitterWnd with MDI Child Windows Pin
David Crow31-Jul-17 3:49
David Crow31-Jul-17 3:49 
AnswerRe: CSplitterWnd with MDI Child Windows Pin
Member 1327791131-Jul-17 5:49
Member 1327791131-Jul-17 5:49 
AnswerRe: CSplitterWnd with MDI Child Windows Pin
Member 1327791131-Jul-17 19:45
Member 1327791131-Jul-17 19:45 
QuestionGood or Bad Idea: C++ OpenGL Application using PureMVC? Pin
DBPatric29-Jul-17 5:38
DBPatric29-Jul-17 5:38 
AnswerRe: Good or Bad Idea: C++ OpenGL Application using PureMVC? Pin
leon de boer30-Jul-17 3:52
leon de boer30-Jul-17 3:52 
GeneralRe: Good or Bad Idea: C++ OpenGL Application using PureMVC? Pin
DBPatric9-Aug-17 13:49
DBPatric9-Aug-17 13:49 

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.