Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday30-Mar-18 7:42
janaswamy uday30-Mar-18 7:42 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Richard Andrew x6430-Mar-18 15:11
professionalRichard Andrew x6430-Mar-18 15:11 
SuggestionRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Jochen Arndt30-Mar-18 22:17
professionalJochen Arndt30-Mar-18 22:17 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday1-Apr-18 21:05
janaswamy uday1-Apr-18 21:05 
QuestionHow to map a matrix index to a memory location Pin
Leif Simon Goodwin29-Mar-18 1:26
Leif Simon Goodwin29-Mar-18 1:26 
AnswerRe: How to map a matrix index to a memory location Pin
Jochen Arndt29-Mar-18 2:39
professionalJochen Arndt29-Mar-18 2:39 
GeneralRe: How to map a matrix index to a memory location Pin
Leif Simon Goodwin29-Mar-18 3:12
Leif Simon Goodwin29-Mar-18 3:12 
GeneralRe: How to map a matrix index to a memory location Pin
harold aptroot29-Mar-18 3:44
harold aptroot29-Mar-18 3:44 
There may be, depending on the processor and number of columns and size of elements. Some processors give fast access to separate bytes of a register (or in the first place form a larger register by adjoining several smaller registers), then perhaps you can form an address almost for free by creating y in the low byte and x in the high byte of the address (likely with an offset otherwise the matrix has to start at 0). This applies to z80 and 8086 and probably some other old CISC architectures (not modern x86 though - it's still possible but no longer actually fast). On a RISC architecture that sort of trick usually doesn't exist. It also typically wastes a lot of memory (you can use the gaps of course but they're fragmented).
AnswerRe: How to map a matrix index to a memory location Pin
Daniel Pfeffer29-Mar-18 5:06
professionalDaniel Pfeffer29-Mar-18 5:06 
QuestionWhat is the best tool to find C++ Memory issues Pin
ptr_Electron29-Mar-18 1:06
ptr_Electron29-Mar-18 1:06 
AnswerRe: What is the best tool to find C++ Memory issues Pin
Leif Simon Goodwin29-Mar-18 1:28
Leif Simon Goodwin29-Mar-18 1:28 
GeneralRe: What is the best tool to find C++ Memory issues Pin
ptr_Electron30-Mar-18 10:12
ptr_Electron30-Mar-18 10:12 
QuestionMemory allocated out side of try and Delete in finally Pin
ptr_Electron28-Mar-18 23:46
ptr_Electron28-Mar-18 23:46 
AnswerRe: Memory allocated out side of try and Delete in finally Pin
Jochen Arndt29-Mar-18 0:17
professionalJochen Arndt29-Mar-18 0:17 
GeneralRe: Memory allocated out side of try and Delete in finally Pin
ptr_Electron29-Mar-18 1:05
ptr_Electron29-Mar-18 1:05 
GeneralRe: Memory allocated out side of try and Delete in finally Pin
Jochen Arndt29-Mar-18 1:44
professionalJochen Arndt29-Mar-18 1:44 
Questionerror C2143: syntax error: missing ':' before 'constant' Pin
ForNow27-Mar-18 15:53
ForNow27-Mar-18 15:53 
QuestionRe: error C2143: syntax error: missing ':' before 'constant' Pin
David Crow27-Mar-18 16:47
David Crow27-Mar-18 16:47 
AnswerRe: error C2143: syntax error: missing ':' before 'constant' Pin
ForNow27-Mar-18 16:52
ForNow27-Mar-18 16:52 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
Peter_in_278027-Mar-18 18:13
professionalPeter_in_278027-Mar-18 18:13 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
ForNow28-Mar-18 14:50
ForNow28-Mar-18 14:50 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
Victor Nijegorodov27-Mar-18 21:18
Victor Nijegorodov27-Mar-18 21:18 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
ForNow28-Mar-18 0:31
ForNow28-Mar-18 0:31 
AnswerRe: error C2143: syntax error: missing ':' before 'constant' Pin
Richard MacCutchan27-Mar-18 22:08
mveRichard MacCutchan27-Mar-18 22:08 
AnswerRe: error C2143: syntax error: missing ':' before 'constant' Pin
Jochen Arndt27-Mar-18 22:41
professionalJochen Arndt27-Mar-18 22:41 

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.