Click here to Skip to main content
13,199,685 members (65,883 online)

C / C++ / MFC

 
AnswerRe: std::vector problem Pin
CPallini6-Jan-13 7:14
mvpCPallini6-Jan-13 7:14 
GeneralRe: std::vector problem Pin
Super Lloyd6-Jan-13 11:53
memberSuper Lloyd6-Jan-13 11:53 
QuestionStatic link to ATL alwayas fail Pin
Falconapollo4-Jan-13 23:19
memberFalconapollo4-Jan-13 23:19 
AnswerRe: Static link to ATL alwayas fail Pin
Richard MacCutchan5-Jan-13 1:28
mvpRichard MacCutchan5-Jan-13 1:28 
QuestionWhat is the benefit using duplicate loop statement [solved] Pin
econy4-Jan-13 4:53
memberecony4-Jan-13 4:53 
AnswerRe: What is the benefit using duplicate loop statement Pin
jeron14-Jan-13 5:29
memberjeron14-Jan-13 5:29 
GeneralRe: What is the benefit using duplicate loop statement Pin
econy4-Jan-13 6:37
memberecony4-Jan-13 6:37 
GeneralRe: What is the benefit using duplicate loop statement Pin
jeron14-Jan-13 6:58
memberjeron14-Jan-13 6:58 
econy wrote:
All Bstruct.aa[],bb[] ... kk[] have the same size 16

Yes, today they do, tomorrow, who knows?
econy wrote:
Is there some cons for using seperate for loops?

Using more CPU cycles because of the multiple initializations and testings (some MCUs clear thier cache when branches are executed) of i. Other than that I can't think of any.
econy wrote:
the compiler maybe optimized them in one loop in assembly?

Don't know offhand, my gut tells me they wouldn't be optimized out.
GeneralRe: What is the benefit using duplicate loop statement Pin
econy4-Jan-13 7:21
memberecony4-Jan-13 7:21 
GeneralRe: What is the benefit using duplicate loop statement Pin
Richard MacCutchan4-Jan-13 6:59
mvpRichard MacCutchan4-Jan-13 6:59 
AnswerRe: What is the benefit using duplicate loop statement [solved] Pin
CPallini6-Jan-13 23:09
mvpCPallini6-Jan-13 23:09 
AnswerRe: What is the benefit using duplicate loop statement [solved] Pin
Joe Woodbury7-Jan-13 10:19
memberJoe Woodbury7-Jan-13 10:19 
QuestionIt's too slow to use the DrawDibDraw to draw a frame. Pin
yu-jian4-Jan-13 3:31
groupyu-jian4-Jan-13 3:31 
Questionhow to create font by unicode value? Pin
Falconapollo4-Jan-13 1:30
memberFalconapollo4-Jan-13 1:30 
AnswerRe: how to create font by unicode value? Pin
Richard MacCutchan4-Jan-13 3:23
mvpRichard MacCutchan4-Jan-13 3:23 
QuestionMS Visual Studio Express 2010, Cygwin, Eclipse together Pin
trinh.nguyen3-Jan-13 14:39
membertrinh.nguyen3-Jan-13 14:39 
AnswerRe: MS Visual Studio Express 2010, Cygwin, Eclipse together Pin
April Fans3-Jan-13 17:42
memberApril Fans3-Jan-13 17:42 
AnswerRe: MS Visual Studio Express 2010, Cygwin, Eclipse together Pin
Richard MacCutchan3-Jan-13 22:33
mvpRichard MacCutchan3-Jan-13 22:33 
QuestionFileSystemWatcher Class in Visual C++ 6.0 Pin
ForNow2-Jan-13 15:23
memberForNow2-Jan-13 15:23 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 Pin
Stephen Hewitt2-Jan-13 17:02
memberStephen Hewitt2-Jan-13 17:02 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 Pin
Maximilien3-Jan-13 5:26
memberMaximilien3-Jan-13 5:26 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 Pin
Chris Losinger3-Jan-13 7:42
memberChris Losinger3-Jan-13 7:42 
Questionwriting a plug in for internet browsers Pin
muharrem2-Jan-13 1:28
membermuharrem2-Jan-13 1:28 
AnswerRe: writing a plug in for internet browsers Pin
Richard MacCutchan2-Jan-13 1:33
mvpRichard MacCutchan2-Jan-13 1:33 
GeneralRe: writing a plug in for internet browsers Pin
muharrem2-Jan-13 2:07
membermuharrem2-Jan-13 2:07 

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.


Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 22 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid