Click here to Skip to main content
14,662,662 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan24-May-20 22:54
mveRichard MacCutchan24-May-20 22:54 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 959508024-May-20 23:03
MemberMember 959508024-May-20 23:03 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan24-May-20 23:19
mveRichard MacCutchan24-May-20 23:19 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 95950801-Jun-20 20:36
MemberMember 95950801-Jun-20 20:36 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
phil.o25-May-20 0:21
mvephil.o25-May-20 0:21 
The most obvious flaw I can see is that your are interverting loop test and variable increment in your for loops.
The syntax is
for (init; condition; increment)
, and you are using
for (init; increment; condition)
instead.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."

GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan25-May-20 0:31
mveRichard MacCutchan25-May-20 0:31 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 959508025-May-20 1:25
MemberMember 959508025-May-20 1:25 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
phil.o25-May-20 1:36
mvephil.o25-May-20 1:36 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan25-May-20 1:46
mveRichard MacCutchan25-May-20 1:46 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
Member 95950801-Jun-20 20:42
MemberMember 95950801-Jun-20 20:42 
QuestionPrinting With Crystal Report Pin
a_alise21-May-20 11:09
Membera_alise21-May-20 11:09 
AnswerRe: Printing With Crystal Report Pin
_Flaviu22-May-20 0:12
Member_Flaviu22-May-20 0:12 
QuestionDynamic Created CEdit using CreateEx Pin
Beginner_mfc20-May-20 3:48
MemberBeginner_mfc20-May-20 3:48 
AnswerRe: Dynamic Created CEdit using CreateEx Pin
Richard MacCutchan20-May-20 5:06
mveRichard MacCutchan20-May-20 5:06 
AnswerRe: Dynamic Created CEdit using CreateEx Pin
Victor Nijegorodov20-May-20 6:42
MemberVictor Nijegorodov20-May-20 6:42 
QuestionC++ Pin
Member 1461181419-May-20 5:46
MemberMember 1461181419-May-20 5:46 
AnswerRe: C++ Pin
Greg Utas19-May-20 6:08
professionalGreg Utas19-May-20 6:08 
GeneralRe: C++ Pin
Richard MacCutchan19-May-20 6:13
mveRichard MacCutchan19-May-20 6:13 
AnswerRe: C++ Pin
CPallini19-May-20 20:50
mveCPallini19-May-20 20:50 
GeneralRe: C++ Pin
charlieg20-May-20 2:13
Membercharlieg20-May-20 2:13 
GeneralRe: C++ Pin
CPallini20-May-20 2:16
mveCPallini20-May-20 2:16 
GeneralRe: C++ Pin
charlieg20-May-20 2:23
Membercharlieg20-May-20 2:23 
GeneralRe: C++ Pin
CPallini20-May-20 3:48
mveCPallini20-May-20 3:48 
GeneralRe: C++ Pin
charlieg20-May-20 4:46
Membercharlieg20-May-20 4:46 
GeneralRe: C++ Pin
CPallini20-May-20 4:59
mveCPallini20-May-20 4: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.