Click here to Skip to main content
15,900,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: serious *.dll/virus issue Pin
Roger Wright20-Dec-03 14:04
professionalRoger Wright20-Dec-03 14:04 
GeneralRe: serious *.dll/virus issue Pin
David Crow22-Dec-03 3:56
David Crow22-Dec-03 3:56 
GeneralNewbie Question: C vs C++ Pin
tguzella20-Dec-03 9:42
tguzella20-Dec-03 9:42 
GeneralRe: Newbie Question: C vs C++ Pin
Tim Smith20-Dec-03 9:53
Tim Smith20-Dec-03 9:53 
GeneralRe: Newbie Question: C vs C++ Pin
markkuk20-Dec-03 12:08
markkuk20-Dec-03 12:08 
GeneralRe: Newbie Question: C vs C++ Pin
John R. Shaw20-Dec-03 16:19
John R. Shaw20-Dec-03 16:19 
GeneralRe: Newbie Question: C vs C++ Pin
Anonymous20-Dec-03 18:25
Anonymous20-Dec-03 18:25 
GeneralRe: Newbie Question: C vs C++ Pin
ZoogieZork20-Dec-03 19:50
ZoogieZork20-Dec-03 19:50 
If there's one thing I learned when I started diving into building my own compiler, it's that modern C and C++ compilers are smart. Very smart.

That said, they aren't perfect, and sometimes they'll focus optimizations on parts of your code that aren't as critical, or they'll refuse to do certain optimizations because it cannot be proven from the language definition that the optimization is safe. And, of course, they can't magically pick a better algorithm for you.

What this means in practical terms is that you shouldn't try to do premature optimizations. Write it in the language of your choice. Benchmark it. Profile it. You might just find that it's fast enough already. If not, you can find the bottlenecks and then break out the assembly.

- Mike, who has wasted entire too much time optimizing for code which wasn't a problem.
GeneralRe: Newbie Question: C vs C++ Pin
John M. Drescher21-Dec-03 7:32
John M. Drescher21-Dec-03 7:32 
GeneralRe: Newbie Question: C vs C++ Pin
tguzella22-Dec-03 5:00
tguzella22-Dec-03 5:00 
GeneralRe: Newbie Question: C vs C++ Pin
John M. Drescher22-Dec-03 6:33
John M. Drescher22-Dec-03 6:33 
Generalgetting Program Files path Pin
Amit Dey20-Dec-03 7:21
Amit Dey20-Dec-03 7:21 
GeneralRe: getting Program Files path Pin
Michael Dunn20-Dec-03 7:36
sitebuilderMichael Dunn20-Dec-03 7:36 
GeneralRe: getting Program Files path Pin
Code4Food20-Dec-03 12:31
Code4Food20-Dec-03 12:31 
GeneralRe: getting Program Files path Pin
John M. Drescher21-Dec-03 4:34
John M. Drescher21-Dec-03 4:34 
GeneralDisplaying international strings Pin
Hyien20-Dec-03 7:06
Hyien20-Dec-03 7:06 
GeneralRe: Displaying international strings Pin
John R. Shaw20-Dec-03 16:34
John R. Shaw20-Dec-03 16:34 
GeneralOwner draw combo box showing big size Pin
abcdefhgijklmnopq20-Dec-03 7:05
abcdefhgijklmnopq20-Dec-03 7:05 
Generalmatlab C++ , help ~! Pin
Vincent Sim20-Dec-03 7:05
Vincent Sim20-Dec-03 7:05 
GeneralChanging the Look and Feel of the Window Pin
AzfarKhan20-Dec-03 6:37
AzfarKhan20-Dec-03 6:37 
GeneralRe: Changing the Look and Feel of the Window Pin
Jörgen Sigvardsson20-Dec-03 6:39
Jörgen Sigvardsson20-Dec-03 6:39 
GeneralKeyDown message Pin
Atlence20-Dec-03 3:30
Atlence20-Dec-03 3:30 
GeneralRe: KeyDown message Pin
Brad Bruce20-Dec-03 3:57
Brad Bruce20-Dec-03 3:57 
GeneralRe: KeyDown message Pin
Atlence20-Dec-03 4:22
Atlence20-Dec-03 4:22 
GeneralSound Application Pin
M.Joshi20-Dec-03 2:41
M.Joshi20-Dec-03 2:41 

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.