Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBoost with VC8 Pin
Ed K21-Nov-05 16:11
Ed K21-Nov-05 16:11 
QuestionCScrollBar: what's the secret? Pin
Jamaica21-Nov-05 15:15
Jamaica21-Nov-05 15:15 
AnswerAnd moreover... Pin
Jamaica21-Nov-05 15:21
Jamaica21-Nov-05 15:21 
AnswerRe: CScrollBar: what's the secret? Pin
Christian Graus21-Nov-05 16:37
protectorChristian Graus21-Nov-05 16:37 
GeneralRe: CScrollBar: what's the secret? Pin
Jamaica21-Nov-05 16:53
Jamaica21-Nov-05 16:53 
GeneralRe: CScrollBar: what's the secret? Pin
Christian Graus21-Nov-05 16:59
protectorChristian Graus21-Nov-05 16:59 
QuestionTesting for empty C-Style string... Pin
Blake Miller21-Nov-05 11:32
Blake Miller21-Nov-05 11:32 
AnswerRe: Testing for empty C-Style string... Pin
PJ Arends21-Nov-05 12:11
professionalPJ Arends21-Nov-05 12:11 
I usually do the second one (strlen). To me it is more obvious that I am checking to see if the length of the string is zero. The last method will save you a couple CPU cycles, but it is not as obvious what you are doing IMO.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: Testing for empty C-Style string... Pin
Blake Miller22-Nov-05 4:25
Blake Miller22-Nov-05 4:25 
AnswerRe: Testing for empty C-Style string... Pin
toxcct21-Nov-05 22:22
toxcct21-Nov-05 22:22 
AnswerRe: Testing for empty C-Style string... Pin
Owner drawn22-Nov-05 1:11
Owner drawn22-Nov-05 1:11 
AnswerRe: Testing for empty C-Style string... Pin
wboncal22-Nov-05 7:59
wboncal22-Nov-05 7:59 
QuestionHow to print content of a CRichEditCtrl to a Rect Pin
AnTri21-Nov-05 9:43
AnTri21-Nov-05 9:43 
AnswerRe: How to print content of a CRichEditCtrl to a Rect Pin
Aamir Butt21-Nov-05 21:21
Aamir Butt21-Nov-05 21:21 
QuestionCheck box next to selected menu items Pin
NYTSX21-Nov-05 9:05
NYTSX21-Nov-05 9:05 
AnswerRe: Check box next to selected menu items Pin
Maximilien21-Nov-05 9:24
Maximilien21-Nov-05 9:24 
GeneralRe: Check box next to selected menu items Pin
NYTSX21-Nov-05 9:30
NYTSX21-Nov-05 9:30 
AnswerRe: Check box next to selected menu items Pin
NYTSX22-Nov-05 1:53
NYTSX22-Nov-05 1:53 
QuestionDebugging DLL problem Pin
Bob Stanneveld21-Nov-05 7:57
Bob Stanneveld21-Nov-05 7:57 
AnswerRe: Debugging DLL problem Pin
douglasjordan21-Nov-05 8:13
douglasjordan21-Nov-05 8:13 
GeneralRe: Debugging DLL problem Pin
Bob Stanneveld21-Nov-05 9:16
Bob Stanneveld21-Nov-05 9:16 
AnswerRe: Debugging DLL problem Pin
Chris Meech21-Nov-05 8:22
Chris Meech21-Nov-05 8:22 
GeneralRe: Debugging DLL problem Pin
Bob Stanneveld21-Nov-05 9:18
Bob Stanneveld21-Nov-05 9:18 
AnswerRe: Debugging DLL problem Pin
Chris Losinger21-Nov-05 8:26
professionalChris Losinger21-Nov-05 8:26 
GeneralRe: Debugging DLL problem Pin
Bob Stanneveld21-Nov-05 9:20
Bob Stanneveld21-Nov-05 9:20 

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.