Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: how to use a work thread write file and the main thread show a carton Pinmembercherry7296-Jan-13 14:58 
AnswerRe: how to use a work thread write file and the main thread show a carton Pinmember Randor 6-Jan-13 17:39 
QuestioncapDriverConnect displays captured frame in CView PinmemberVaclav_Sal4-Jan-13 16:15 
QuestionWhat is the merit to rewrite memcpy? [modified] Pinmemberecony4-Jan-13 7:31 
AnswerRe: What is the merit to rewrite memcpy? PinmvpRichard MacCutchan4-Jan-13 9:19 
GeneralRe: What is the merit to rewrite memcpy? Pinmemberecony4-Jan-13 10:31 
GeneralRe: What is the merit to rewrite memcpy? Pinmemberjeron14-Jan-13 10:49 
GeneralRe: What is the merit to rewrite memcpy? PinmvpRichard MacCutchan5-Jan-13 1:20 
AnswerRe: What is the merit to rewrite memcpy? Pinmemberjschell6-Jan-13 5:02 
AnswerRe: What is the merit to rewrite memcpy? [modified] PinmemberJoe Woodbury7-Jan-13 10:15 
QuestionWhat is the benefit using duplicate loop statement [solved] Pinmemberecony4-Jan-13 4:53 
AnswerRe: What is the benefit using duplicate loop statement Pinmemberjeron14-Jan-13 5:29 
GeneralRe: What is the benefit using duplicate loop statement Pinmemberecony4-Jan-13 6:37 
GeneralRe: What is the benefit using duplicate loop statement Pinmemberjeron14-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 Pinmemberecony4-Jan-13 7:21 
GeneralRe: What is the benefit using duplicate loop statement PinmvpRichard MacCutchan4-Jan-13 6:59 
AnswerRe: What is the benefit using duplicate loop statement [solved] PinmvpCPallini6-Jan-13 23:09 
AnswerRe: What is the benefit using duplicate loop statement [solved] PinmemberJoe Woodbury7-Jan-13 10:19 
QuestionIt's too slow to use the DrawDibDraw to draw a frame. Pingroupyu-jian4-Jan-13 3:31 
Questionhow to create font by unicode value? PinmemberFalconapollo4-Jan-13 1:30 
AnswerRe: how to create font by unicode value? PinmvpRichard MacCutchan4-Jan-13 3:23 
Questionwhen writing file,dispaly a animation with avi Pinmembercherry7293-Jan-13 22:51 
AnswerRe: when writing file,dispaly a animation with avi [modified] PinmemberRajesh R Subramanian4-Jan-13 0:04 
GeneralRe: when writing file,dispaly a animation with avi Pinmembercherry7294-Jan-13 14:34 
QuestionMS Visual Studio Express 2010, Cygwin, Eclipse together Pinmembertrinh.nguyen3-Jan-13 14:39 
AnswerRe: MS Visual Studio Express 2010, Cygwin, Eclipse together [modified] PinmemberApril Fans3-Jan-13 17:42 
AnswerRe: MS Visual Studio Express 2010, Cygwin, Eclipse together PinmvpRichard MacCutchan3-Jan-13 22:33 
Questiona "new" operator failed Pinmembera_matseevsky3-Jan-13 7:41 
AnswerRe: a "new" operator failed Pinmemberjschell3-Jan-13 8:06 
GeneralRe: a "new" operator failed Pinmembera_matseevsky3-Jan-13 8:50 
AnswerRe: a "new" operator failed PinmvpCPallini3-Jan-13 9:06 
GeneralRe: a "new" operator failed Pinmembera_matseevsky3-Jan-13 22:41 
QuestionActiveX Memory leaks PinmemberManish K. Agarwal2-Jan-13 19:40 
AnswerRe: ActiveX Memory leaks [modified] PinmemberApril Fans3-Jan-13 15:23 
GeneralRe: ActiveX Memory leaks PinmvpRichard MacCutchan3-Jan-13 22:29 
AnswerRe: ActiveX Memory leaks [modified] PinmemberApril Fans3-Jan-13 15:50 
QuestionRe: ActiveX Memory leaks PinmemberManish K. Agarwal7-Jan-13 0:28 
QuestionFileSystemWatcher Class in Visual C++ 6.0 PinmemberForNow2-Jan-13 15:23 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 PinmemberStephen Hewitt2-Jan-13 17:02 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 PinmemberMaximilien3-Jan-13 5:26 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 PinmemberChris Losinger3-Jan-13 7:42 
Questionhow to batch build VC++ 6 project to VC++ 2010? PinmemberFalconapollo2-Jan-13 5:02 
AnswerRe: how to batch build VC++ 6 project to VC++ 2010? PinmemberMaximilien2-Jan-13 5:37 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? PinmemberFalconapollo2-Jan-13 15:46 
AnswerRe: how to batch build VC++ 6 project to VC++ 2010? Pinmemberjschell2-Jan-13 8:12 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? PinmemberMaximilien2-Jan-13 9:37 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? Pinmemberjschell3-Jan-13 8:04 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? PinmemberMaximilien3-Jan-13 8:36 
QuestionWho can take a look at my code? [modified] PinmemberMcPhantom2-Jan-13 3:56 
AnswerRe: Who can take a look at my code? PinprotectorPete O'Hanlon2-Jan-13 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web03 | 2.8.140721.1 | Last Updated 31 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid