Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C function call question. Pin
k505411-Aug-17 5:13
mvek505411-Aug-17 5:13 
GeneralRe: C function call question. Pin
k505411-Aug-17 10:35
mvek505411-Aug-17 10:35 
AnswerRe: C function call question. Pin
Kornfeld Eliyahu Peter12-Aug-17 23:47
professionalKornfeld Eliyahu Peter12-Aug-17 23:47 
QuestionRe: C function call question. Pin
David Crow14-Aug-17 2:16
David Crow14-Aug-17 2:16 
AnswerRe: C function call question. Pin
Kornfeld Eliyahu Peter14-Aug-17 2:54
professionalKornfeld Eliyahu Peter14-Aug-17 2:54 
QuestionRe: C function call question. Pin
David Crow14-Aug-17 2:57
David Crow14-Aug-17 2:57 
AnswerRe: C function call question. Pin
Kornfeld Eliyahu Peter14-Aug-17 4:02
professionalKornfeld Eliyahu Peter14-Aug-17 4:02 
QuestionOut of Memory Exception in C++ Pin
divya0310-Aug-17 2:16
divya0310-Aug-17 2:16 
QuestionRe: Out of Memory Exception in C++ Pin
David Crow10-Aug-17 3:19
David Crow10-Aug-17 3:19 
AnswerRe: Out of Memory Exception in C++ Pin
divya0310-Aug-17 3:26
divya0310-Aug-17 3:26 
QuestionRe: Out of Memory Exception in C++ Pin
David Crow10-Aug-17 3:32
David Crow10-Aug-17 3:32 
AnswerRe: Out of Memory Exception in C++ Pin
divya0310-Aug-17 17:24
divya0310-Aug-17 17:24 
AnswerRe: Out of Memory Exception in C++ Pin
jeron110-Aug-17 3:54
jeron110-Aug-17 3:54 
GeneralRe: Out of Memory Exception in C++ Pin
divya0310-Aug-17 17:20
divya0310-Aug-17 17:20 
GeneralRe: Out of Memory Exception in C++ Pin
jeron111-Aug-17 4:21
jeron111-Aug-17 4:21 
AnswerRe: Out of Memory Exception in C++ Pin
SeattleC++11-Aug-17 10:31
SeattleC++11-Aug-17 10:31 
GeneralRe: Out of Memory Exception in C++ Pin
divya0313-Aug-17 19:03
divya0313-Aug-17 19:03 
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 

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.