Click here to Skip to main content
14,873,128 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using template in C++ Pin
jeron124-Nov-20 14:42
Memberjeron124-Nov-20 14:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 6:43
MemberMember 1498043325-Nov-20 6:43 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 7:57
mveRichard MacCutchan25-Nov-20 7:57 
GeneralRe: Using template in C++ Pin
Victor Nijegorodov25-Nov-20 9:28
MemberVictor Nijegorodov25-Nov-20 9:28 
AnswerRe: EDITED Using template in C++ - run time error Pin
Member 1498043325-Nov-20 17:39
MemberMember 1498043325-Nov-20 17:39 
GeneralRe: EDITED Using template in C++ - run time error Pin
Richard MacCutchan26-Nov-20 0:05
mveRichard MacCutchan26-Nov-20 0:05 
AnswerRe: EDITED Using template in C++ - run time error Pin
Victor Nijegorodov26-Nov-20 1:34
MemberVictor Nijegorodov26-Nov-20 1:34 
GeneralRe: EDITED Using template in C++ - run time error Pin
Member 1498043326-Nov-20 4:59
MemberMember 1498043326-Nov-20 4:59 
Why complicate things??
Is it not sufficient that I get run time error?
Running debug is still not addressing the issue.

Logically - if the "list count " is > 0 the code in constructor works.
I did verify the count > 0 before do-while loop , but that is superficial.

If same code is used in method it appears that the count changed - the run time error said so.
Hence using debugger will just confirm that - so what is the point? ( another useless side trip, in my opinion, proving nothing ).
I will repeat - did I used the template QList wrong is my concern? How did the contents of the list changed AKA index is no longer valid ?
I will delete the code in constructor and run only the method code. That is my next best guess, but it will NOT answer the problem.
GeneralRe: EDITED Using template in C++ - run time error Pin
Richard MacCutchan26-Nov-20 5:48
mveRichard MacCutchan26-Nov-20 5:48 
GeneralRe: EDITED Using template in C++ - run time error Pin
Dave Kreskowiak26-Nov-20 6:28
mveDave Kreskowiak26-Nov-20 6:28 
GeneralRe: EDITED Using template in C++ - run time error Pin
Victor Nijegorodov26-Nov-20 6:50
MemberVictor Nijegorodov26-Nov-20 6:50 
AnswerRe: EDITED Using template in C++ - run time error Pin
jeron126-Nov-20 3:54
Memberjeron126-Nov-20 3:54 
GeneralRe: EDITED Using template in C++ - run time error Pin
Member 1498043326-Nov-20 5:08
MemberMember 1498043326-Nov-20 5:08 
GeneralRe: EDITED Using template in C++ - run time error Pin
jeron126-Nov-20 7:08
Memberjeron126-Nov-20 7:08 
GeneralRe: EDITED Using template in C++ - run time error Pin
Member 1498043326-Nov-20 15:44
MemberMember 1498043326-Nov-20 15:44 
GeneralRe: EDITED Using template in C++ - run time error Pin
jeron126-Nov-20 15:59
Memberjeron126-Nov-20 15:59 
GeneralRe: EDITED Using template in C++ - run time error Pin
Richard MacCutchan26-Nov-20 21:26
mveRichard MacCutchan26-Nov-20 21:26 
QuestionGomoku in C++ Pin
Member 1499964622-Nov-20 2:39
MemberMember 1499964622-Nov-20 2:39 
AnswerRe: Gomoku in C++ Pin
Greg Utas22-Nov-20 4:10
mvaGreg Utas22-Nov-20 4:10 
QuestionA "C" programming equivalent to Windows + R run dialog invokcation Pin
samtoad19-Nov-20 18:59
Membersamtoad19-Nov-20 18:59 
AnswerRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
Randor 19-Nov-20 19:48
professional Randor 19-Nov-20 19:48 
GeneralRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
David Crow20-Nov-20 3:02
MemberDavid Crow20-Nov-20 3:02 
PraiseRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
Randor 21-Nov-20 20:46
professional Randor 21-Nov-20 20:46 
QuestionRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
Richard MacCutchan20-Nov-20 4:18
mveRichard MacCutchan20-Nov-20 4:18 
AnswerRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
samtoad20-Nov-20 13:22
Membersamtoad20-Nov-20 13:22 

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.