Click here to Skip to main content
15,397,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 6:58
MemberMember 1498043325-Nov-20 6:58 
GeneralRe: Using template in C++ Pin
jeron125-Nov-20 7:23
Memberjeron125-Nov-20 7:23 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 7:42
mveRichard MacCutchan25-Nov-20 7:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 8:53
MemberMember 1498043325-Nov-20 8:53 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 9:21
mveRichard MacCutchan25-Nov-20 9:21 
AnswerRe: Using template in C++ Pin
jeron123-Nov-20 6:41
Memberjeron123-Nov-20 6:41 
GeneralRe: Using template in C++ Pin
Member 1498043324-Nov-20 14:27
MemberMember 1498043324-Nov-20 14:27 
GeneralRe: Using template in C++ Pin
jeron124-Nov-20 14:42
Memberjeron124-Nov-20 14:42 
Member 14980433 wrote:
No count , no processing,
No, you're going to process it once before size is checked, and likely crash if the list is empty.

Member 14980433 wrote:
I am sure I will find more "elegant" way to process the items and stop the loop.
Indeed, most likely a for loop.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

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 
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 

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.