Click here to Skip to main content
15,568,045 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using template in C++ Pin
jeron124-Nov-20 15:42
jeron124-Nov-20 15:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 7:43
Member 1498043325-Nov-20 7:43 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 8:57
mveRichard MacCutchan25-Nov-20 8:57 
GeneralRe: Using template in C++ Pin
Victor Nijegorodov25-Nov-20 10:28
Victor Nijegorodov25-Nov-20 10:28 
AnswerRe: EDITED Using template in C++ - run time error Pin
Member 1498043325-Nov-20 18:39
Member 1498043325-Nov-20 18:39 
GeneralRe: EDITED Using template in C++ - run time error Pin
Richard MacCutchan26-Nov-20 1:05
mveRichard MacCutchan26-Nov-20 1:05 
AnswerRe: EDITED Using template in C++ - run time error Pin
Victor Nijegorodov26-Nov-20 2:34
Victor Nijegorodov26-Nov-20 2:34 
GeneralRe: EDITED Using template in C++ - run time error Pin
Member 1498043326-Nov-20 5:59
Member 1498043326-Nov-20 5: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 6:48
mveRichard MacCutchan26-Nov-20 6:48 
GeneralRe: EDITED Using template in C++ - run time error Pin
Dave Kreskowiak26-Nov-20 7:28
mveDave Kreskowiak26-Nov-20 7:28 
GeneralRe: EDITED Using template in C++ - run time error Pin
Victor Nijegorodov26-Nov-20 7:50
Victor Nijegorodov26-Nov-20 7:50 
AnswerRe: EDITED Using template in C++ - run time error Pin
jeron126-Nov-20 4:54
jeron126-Nov-20 4:54 
GeneralRe: EDITED Using template in C++ - run time error Pin
Member 1498043326-Nov-20 6:08
Member 1498043326-Nov-20 6:08 
GeneralRe: EDITED Using template in C++ - run time error Pin
jeron126-Nov-20 8:08
jeron126-Nov-20 8:08 
GeneralRe: EDITED Using template in C++ - run time error Pin
Member 1498043326-Nov-20 16:44
Member 1498043326-Nov-20 16:44 
GeneralRe: EDITED Using template in C++ - run time error Pin
jeron126-Nov-20 16:59
jeron126-Nov-20 16:59 
GeneralRe: EDITED Using template in C++ - run time error Pin
Richard MacCutchan26-Nov-20 22:26
mveRichard MacCutchan26-Nov-20 22:26 
QuestionGomoku in C++ Pin
Member 1499964622-Nov-20 3:39
Member 1499964622-Nov-20 3:39 
AnswerRe: Gomoku in C++ Pin
Greg Utas22-Nov-20 5:10
mveGreg Utas22-Nov-20 5:10 
QuestionA "C" programming equivalent to Windows + R run dialog invokcation Pin
samtoad19-Nov-20 19:59
samtoad19-Nov-20 19:59 
AnswerRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
Randor 19-Nov-20 20:48
professional Randor 19-Nov-20 20:48 
GeneralRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
David Crow20-Nov-20 4:02
David Crow20-Nov-20 4:02 
PraiseRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
Randor 21-Nov-20 21:46
professional Randor 21-Nov-20 21:46 
QuestionRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
Richard MacCutchan20-Nov-20 5:18
mveRichard MacCutchan20-Nov-20 5:18 
AnswerRe: A "C" programming equivalent to Windows + R run dialog invokcation Pin
samtoad20-Nov-20 14:22
samtoad20-Nov-20 14: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.