Click here to Skip to main content
13,830,083 members

C / C++ / MFC

 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Richard Andrew x6430-Mar-18 16:11
professionalRichard Andrew x6430-Mar-18 16:11 
SuggestionRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Jochen Arndt30-Mar-18 23:17
mveJochen Arndt30-Mar-18 23:17 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday1-Apr-18 22:05
memberjanaswamy uday1-Apr-18 22:05 
QuestionHow to map a matrix index to a memory location Pin
Leif Simon Goodwin29-Mar-18 2:26
memberLeif Simon Goodwin29-Mar-18 2:26 
AnswerRe: How to map a matrix index to a memory location Pin
Jochen Arndt29-Mar-18 3:39
mveJochen Arndt29-Mar-18 3:39 
GeneralRe: How to map a matrix index to a memory location Pin
Leif Simon Goodwin29-Mar-18 4:12
memberLeif Simon Goodwin29-Mar-18 4:12 
GeneralRe: How to map a matrix index to a memory location Pin
harold aptroot29-Mar-18 4:44
memberharold aptroot29-Mar-18 4:44 
AnswerRe: How to map a matrix index to a memory location Pin
Daniel Pfeffer29-Mar-18 6:06
professionalDaniel Pfeffer29-Mar-18 6:06 
Before using such micro-optimisations, I would ensure that we have used all higher-level optimisations, first. For example:
  1. How are the data received?
    Are they stored in memory in order of reception, or does some processing (e.g. address calculation) need to be performed?
  2. How are the data processed?
    Is the access pattern sequential? random?
    If a single pass through the data is performed, is it possible to store the data (see question 1 above) in the order of processing, and thereby avoid all indexing?
You may be able to think of other optimisations, based on your knowledge of the hardware and the problem.
Ad astra - both ways!

QuestionWhat is the best tool to find C++ Memory issues Pin
ptr_Electron29-Mar-18 2:06
memberptr_Electron29-Mar-18 2:06 
AnswerRe: What is the best tool to find C++ Memory issues Pin
Leif Simon Goodwin29-Mar-18 2:28
memberLeif Simon Goodwin29-Mar-18 2:28 
GeneralRe: What is the best tool to find C++ Memory issues Pin
ptr_Electron30-Mar-18 11:12
memberptr_Electron30-Mar-18 11:12 
QuestionMemory allocated out side of try and Delete in finally Pin
ptr_Electron29-Mar-18 0:46
memberptr_Electron29-Mar-18 0:46 
AnswerRe: Memory allocated out side of try and Delete in finally Pin
Jochen Arndt29-Mar-18 1:17
mveJochen Arndt29-Mar-18 1:17 
GeneralRe: Memory allocated out side of try and Delete in finally Pin
ptr_Electron29-Mar-18 2:05
memberptr_Electron29-Mar-18 2:05 
GeneralRe: Memory allocated out side of try and Delete in finally Pin
Jochen Arndt29-Mar-18 2:44
mveJochen Arndt29-Mar-18 2:44 
Questionerror C2143: syntax error: missing ':' before 'constant' Pin
ForNow27-Mar-18 16:53
memberForNow27-Mar-18 16:53 
QuestionRe: error C2143: syntax error: missing ':' before 'constant' Pin
David Crow27-Mar-18 17:47
memberDavid Crow27-Mar-18 17:47 
AnswerRe: error C2143: syntax error: missing ':' before 'constant' Pin
ForNow27-Mar-18 17:52
memberForNow27-Mar-18 17:52 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
Peter_in_278027-Mar-18 19:13
professionalPeter_in_278027-Mar-18 19:13 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
ForNow28-Mar-18 15:50
memberForNow28-Mar-18 15:50 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
Victor Nijegorodov27-Mar-18 22:18
memberVictor Nijegorodov27-Mar-18 22:18 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' Pin
ForNow28-Mar-18 1:31
memberForNow28-Mar-18 1:31 
AnswerRe: error C2143: syntax error: missing ':' before 'constant' Pin
Richard MacCutchan27-Mar-18 23:08
protectorRichard MacCutchan27-Mar-18 23:08 
AnswerRe: error C2143: syntax error: missing ':' before 'constant' Pin
Jochen Arndt27-Mar-18 23:41
mveJochen Arndt27-Mar-18 23:41 
GeneralRe: error C2143: syntax error: missing ':' before 'constant' The Hercules makefile has V1,V2,V3,V4 Pin
ForNow28-Mar-18 16:44
memberForNow28-Mar-18 16:44 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190114.1 | Last Updated 17 Jan 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid