Click here to Skip to main content
15,909,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why I can't change font in CRichEditCtrl Pin
Mark F.28-Dec-05 3:37
Mark F.28-Dec-05 3:37 
GeneralRe: Why I can't change font in CRichEditCtrl Pin
Frankdou29-Dec-05 13:59
Frankdou29-Dec-05 13:59 
Question++i and i++ Pin
Nishad S27-Dec-05 18:35
Nishad S27-Dec-05 18:35 
AnswerRe: ++i and i++ Pin
G Haranadh27-Dec-05 18:49
G Haranadh27-Dec-05 18:49 
GeneralRe: ++i and i++ Pin
Nishad S27-Dec-05 20:09
Nishad S27-Dec-05 20:09 
GeneralRe: ++i and i++ Pin
G Haranadh27-Dec-05 20:15
G Haranadh27-Dec-05 20:15 
GeneralRe: ++i and i++ Pin
S. Senthil Kumar27-Dec-05 21:19
S. Senthil Kumar27-Dec-05 21:19 
AnswerRe: ++i and i++ Pin
S. Senthil Kumar27-Dec-05 18:49
S. Senthil Kumar27-Dec-05 18:49 
There's no advantage for integers like i. But if you're using an STL iterator, for example, there's a definite advantage using ++i over i++. The implementation of the postincrement operator would need to do whatever ++i does, but it would also need to store the original value in a temporary variable and return it, which would be less performant.


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
AnswerRe: ++i and i++ Pin
John M. Drescher27-Dec-05 18:52
John M. Drescher27-Dec-05 18:52 
GeneralRe: ++i and i++ Pin
Nishad S27-Dec-05 20:09
Nishad S27-Dec-05 20:09 
AnswerRe: ++i and i++ Pin
Owner drawn27-Dec-05 18:52
Owner drawn27-Dec-05 18:52 
AnswerRe: ++i and i++ Pin
vikas amin27-Dec-05 19:18
vikas amin27-Dec-05 19:18 
GeneralRe: ++i and i++ Pin
Nishad S27-Dec-05 20:10
Nishad S27-Dec-05 20:10 
GeneralRe: ++i and i++ Pin
segment_fault3-Jan-06 17:54
segment_fault3-Jan-06 17:54 
GeneralRe: ++i and i++ Pin
Nishad S27-Dec-05 20:11
Nishad S27-Dec-05 20:11 
AnswerRe: ++i and i++ Pin
Prakash Nadar27-Dec-05 21:42
Prakash Nadar27-Dec-05 21:42 
GeneralRe: ++i and i++ Pin
Nishad S27-Dec-05 21:52
Nishad S27-Dec-05 21:52 
GeneralRe: ++i and i++ Pin
vikas amin27-Dec-05 22:01
vikas amin27-Dec-05 22:01 
AnswerRe: ++i and i++ Pin
vikas amin28-Dec-05 0:29
vikas amin28-Dec-05 0:29 
QuestionModelless dialog box Pin
pooja_12327-Dec-05 17:36
pooja_12327-Dec-05 17:36 
AnswerRe: Modelless dialog box Pin
Owner drawn27-Dec-05 17:41
Owner drawn27-Dec-05 17:41 
AnswerRe: Modelless dialog box Pin
Prakash Nadar27-Dec-05 21:56
Prakash Nadar27-Dec-05 21:56 
QuestionHow can I know if there is a Floppy disk in the Floppy drive? Pin
Owner drawn27-Dec-05 17:24
Owner drawn27-Dec-05 17:24 
AnswerRe: How can I know if there is a Floppy disk in the Floppy drive? Pin
Abhi Lahare27-Dec-05 19:12
Abhi Lahare27-Dec-05 19:12 
GeneralRe: How can I know if there is a Floppy disk in the Floppy drive? Pin
Owner drawn27-Dec-05 19:20
Owner drawn27-Dec-05 19: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.