Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Windows Timer Behavior Pin
SAMZC16-Oct-10 23:55
SAMZC16-Oct-10 23:55 
QuestionQuestion on how to traverse this array Pin
Keith Vitali16-Oct-10 5:08
Keith Vitali16-Oct-10 5:08 
AnswerRe: Question on how to traverse this array Pin
Graham Shanks16-Oct-10 7:57
Graham Shanks16-Oct-10 7:57 
GeneralRe: Question on how to traverse this array Pin
Keith Vitali16-Oct-10 8:57
Keith Vitali16-Oct-10 8:57 
GeneralRe: Question on how to traverse this array Pin
Keith Vitali16-Oct-10 10:39
Keith Vitali16-Oct-10 10:39 
GeneralRe: Question on how to traverse this array Pin
Graham Shanks16-Oct-10 10:43
Graham Shanks16-Oct-10 10:43 
GeneralRe: Question on how to traverse this array Pin
Keith Vitali16-Oct-10 11:29
Keith Vitali16-Oct-10 11:29 
AnswerRe: Question on how to traverse this array Pin
Aescleal16-Oct-10 22:31
Aescleal16-Oct-10 22:31 
If you're using C++ leave all your C baggage behind. While the solution outlined would be great for C why not wrap all the messing about with dimensions to a class? You can bung the dimensions in the class along with your data and not have to fiddle about with pointers so much and all the errors that that produces (for example not having enough data for the number of dimensions).

Cheers,

Ash
Questionhow can I learn?? Pin
AmbiguousName16-Oct-10 1:32
AmbiguousName16-Oct-10 1:32 
AnswerRe: how can I learn?? Pin
Niklas L16-Oct-10 3:01
Niklas L16-Oct-10 3:01 
GeneralRe: how can I learn?? Pin
AmbiguousName16-Oct-10 10:37
AmbiguousName16-Oct-10 10:37 
QuestionRe: how can I learn?? Pin
David Crow16-Oct-10 4:37
David Crow16-Oct-10 4:37 
AnswerRe: how can I learn?? Pin
AmbiguousName16-Oct-10 8:26
AmbiguousName16-Oct-10 8:26 
AnswerRe: how can I learn?? Pin
Maximilien16-Oct-10 8:35
Maximilien16-Oct-10 8:35 
AnswerRe: how can I learn?? Pin
Aescleal16-Oct-10 22:21
Aescleal16-Oct-10 22:21 
QuestionCEdit::GetLine return blank value when LineLength is 1. Pin
Le@rner15-Oct-10 23:51
Le@rner15-Oct-10 23:51 
AnswerRe: CEdit::GetLine return blank value when LineLength is 1. Pin
Richard MacCutchan16-Oct-10 0:56
mveRichard MacCutchan16-Oct-10 0:56 
AnswerRe: CEdit::GetLine return blank value when LineLength is 1. Pin
David Crow16-Oct-10 4:40
David Crow16-Oct-10 4:40 
QuestionHow can create thread pool? Pin
Le@rner15-Oct-10 23:23
Le@rner15-Oct-10 23:23 
AnswerRe: How can create thread pool? Pin
Rajesh R Subramanian16-Oct-10 2:51
professionalRajesh R Subramanian16-Oct-10 2:51 
AnswerRe: How can create thread pool? Pin
Iain Clarke, Warrior Programmer17-Oct-10 10:48
Iain Clarke, Warrior Programmer17-Oct-10 10:48 
QuestionEither to use thread pooling or some other technique Pin
learningvisualc15-Oct-10 21:25
learningvisualc15-Oct-10 21:25 
AnswerRe: Either to use thread pooling or some other technique Pin
Rajesh R Subramanian15-Oct-10 22:12
professionalRajesh R Subramanian15-Oct-10 22:12 
QuestionCheck that an EXE file is code signed / digitally signed? Pin
Mika Larramo15-Oct-10 5:59
Mika Larramo15-Oct-10 5:59 
AnswerRe: Check that an EXE file is code signed / digitally signed? [modified] Pin
Code-o-mat15-Oct-10 9:57
Code-o-mat15-Oct-10 9:57 

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.