Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sending Keystrokes to another process Pin
Mustafa Demirhan16-Dec-01 17:03
Mustafa Demirhan16-Dec-01 17:03 
GeneralRe: Sending Keystrokes to another process Pin
Tim Deveaux15-Dec-01 14:24
Tim Deveaux15-Dec-01 14:24 
GeneralRe: Sending Keystrokes to another process Pin
#realJSOP16-Dec-01 3:15
professional#realJSOP16-Dec-01 3:15 
GeneralRe: Sending Keystrokes to another process Pin
Tim Deveaux16-Dec-01 4:00
Tim Deveaux16-Dec-01 4:00 
GeneralPrinting Problem! Pin
Mazdak15-Dec-01 8:36
Mazdak15-Dec-01 8:36 
GeneralBeyond Fundamental C++ - Experience Pin
valikac15-Dec-01 7:03
valikac15-Dec-01 7:03 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Tim Smith15-Dec-01 8:00
Tim Smith15-Dec-01 8:00 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Michael Dunn15-Dec-01 8:39
sitebuilderMichael Dunn15-Dec-01 8:39 
kuphryn wrote:
Ultimate, the better the programming technique including program design, the more efficient the final program will operate. Furthermore, the program file should be smaller while undoubtedly producing the same result.

That sounds like you try to hand-optimize your C code yourself. Unless you're writing time-critical or space-critical code (such as a new Quake III-killing 3D engine, an anti-virus background scanner or a new memory allocator), hand-optimizing is a waste of your own time. Let the compiler writers (like MS, with its mounds of resources, experience, and money) handle the optimizing. Your own optimizations are probably harder for others to read and maintain, as well as possibly confusing the compiler's optimization algorithms.

kuphryn wrote:
I often find myself implementing if/else, while/do while and using bool as a "count" to manage the if/else and loops. In terms of effective programming, is that good practice?

If you're using some funky replacement for an if/else, instead of just using if/else, and the code doesn't fall into a critical type I mentioned earlier, run some performance tests on the code. Then rewrite it using normal if/else structures. If there's no meaningful difference, ditch the funky stuff. Smile | :)

--Mike--
http://home.inreach.com/mdunn/
"Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001
Sonork - 100.10414 AcidHelm
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac15-Dec-01 9:31
valikac15-Dec-01 9:31 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac15-Dec-01 10:13
valikac15-Dec-01 10:13 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Tim Smith15-Dec-01 10:27
Tim Smith15-Dec-01 10:27 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac15-Dec-01 10:51
valikac15-Dec-01 10:51 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Todd Smith16-Dec-01 5:00
Todd Smith16-Dec-01 5:00 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac16-Dec-01 5:20
valikac16-Dec-01 5:20 
GeneralFunction explored from .exe files and heap problems Pin
Marc Richarme15-Dec-01 6:02
Marc Richarme15-Dec-01 6:02 
GeneralRe: Function explored from .exe files and heap problems Pin
Igor Sukhov15-Dec-01 6:14
Igor Sukhov15-Dec-01 6:14 
GeneralRe: Function explored from .exe files and heap problems Pin
Marc Richarme15-Dec-01 8:47
Marc Richarme15-Dec-01 8:47 
GeneralRe: Function explored from .exe files and heap problems Pin
Joaquín M López Muñoz16-Dec-01 2:57
Joaquín M López Muñoz16-Dec-01 2:57 
QuestionHow to integrate a Button Object into the middle of the Mainframe at Runtime. Pin
Alexander_BMW15-Dec-01 5:20
Alexander_BMW15-Dec-01 5:20 
QuestionModeless dialog?? Pin
Rickard Andersson2015-Dec-01 1:18
Rickard Andersson2015-Dec-01 1:18 
AnswerRe: Modeless dialog?? Pin
David Wulff15-Dec-01 2:53
David Wulff15-Dec-01 2:53 
GeneralRe: Modeless dialog?? Pin
Rickard Andersson2015-Dec-01 11:36
Rickard Andersson2015-Dec-01 11:36 
GeneralActiveXComponent Pin
San15-Dec-01 0:08
San15-Dec-01 0:08 
GeneralRe: ActiveXComponent Pin
Joaquín M López Muñoz15-Dec-01 0:19
Joaquín M López Muñoz15-Dec-01 0:19 
QuestionI want run program with crystal report component in another computer? Pin
nemati14-Dec-01 20:38
nemati14-Dec-01 20:38 

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.