Click here to Skip to main content
15,559,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using template in C++ Pin
jeron125-Nov-20 8:23
jeron125-Nov-20 8:23 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 8:42
mveRichard MacCutchan25-Nov-20 8:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 9:53
Member 1498043325-Nov-20 9:53 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 10:21
mveRichard MacCutchan25-Nov-20 10:21 
AnswerRe: Using template in C++ Pin
jeron123-Nov-20 7:41
jeron123-Nov-20 7:41 
GeneralRe: Using template in C++ Pin
Member 1498043324-Nov-20 15:27
Member 1498043324-Nov-20 15:27 
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 
No, you're going to process it once before size is checked, and likely crash if the list is empty.

My objective is to identify the reason for the "out of range "error.
I am getting same when accessing another template list.

Ok, let's make an assumption the do-while " list " is indeed empty. ( It is not )

Would the compiler produce the "index out of range" error then ?
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 
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 

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.