Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Way to Prevent memeory leak? Pin
wb28-Jun-04 22:05
wb28-Jun-04 22:05 
GeneralSerial Communication in WIN CE Pin
Chinnaa Ganesh Kumar28-Jun-04 20:07
Chinnaa Ganesh Kumar28-Jun-04 20:07 
Generalstd::queue and Managed class Pin
Vadim Tabakman28-Jun-04 19:54
Vadim Tabakman28-Jun-04 19:54 
GeneralRe: std::queue and Managed class Pin
Nemanja Trifunovic29-Jun-04 7:23
Nemanja Trifunovic29-Jun-04 7:23 
GeneralRe: std::queue and Managed class Pin
Vadim Tabakman29-Jun-04 13:36
Vadim Tabakman29-Jun-04 13:36 
GeneralQuestion on prefix and post fix Pin
rohit.dhamija28-Jun-04 19:49
rohit.dhamija28-Jun-04 19:49 
GeneralRe: Question on prefix and post fix Pin
PJ Arends28-Jun-04 19:57
professionalPJ Arends28-Jun-04 19:57 
GeneralRe: Question on prefix and post fix Pin
Ian Darling29-Jun-04 2:57
Ian Darling29-Jun-04 2:57 
PJ Arends wrote:
I would think code that would not even compile.

I agree - it shouldn't - there's a missing operation between the 5++ and the ++6.

I suspect someone's posted incorrect code, with a missing or extraneous '+' along the way.

Either way, the C++ standard makes no specific guarantees about the order that statement is executed in - a set of operations can be performed in any order if they are within the same sequence point and the rules of precedence don't kick in, IIRC. So we're probably looking at undefined behaviour, hence the different results (watch out for those nasal demons Smile | :) )


Ian Darling
The world is a thing of utter inordinate complexity ... that such complexity can arise ... out of such simplicity ... is the most fabulous extraordinary idea ... once you get some kind of inkling of how that might have happened - it's just wonderful ... the opportunity to spend 70 or 80 years of your life in such a universe is time well spent as far as I am concerned - Douglas Adams
GeneralRe: Question on prefix and post fix Pin
Vadim Tabakman28-Jun-04 19:58
Vadim Tabakman28-Jun-04 19:58 
GeneralRe: Question on prefix and post fix Pin
rohit.dhamija28-Jun-04 20:14
rohit.dhamija28-Jun-04 20:14 
GeneralRe: Question on prefix and post fix Pin
Vadim Tabakman28-Jun-04 20:28
Vadim Tabakman28-Jun-04 20:28 
GeneralSOAP 3.0 Question Pin
NeoHobbit28-Jun-04 19:28
NeoHobbit28-Jun-04 19:28 
GeneralZoom In and Zoom Out Pin
aparajita28-Jun-04 19:28
aparajita28-Jun-04 19:28 
GeneralRe: Zoom In and Zoom Out Pin
PJ Arends28-Jun-04 19:59
professionalPJ Arends28-Jun-04 19:59 
GeneralRe: Zoom In and Zoom Out Pin
Vadim Tabakman28-Jun-04 20:03
Vadim Tabakman28-Jun-04 20:03 
GeneralA question to COM gurus Pin
Anonymous28-Jun-04 19:28
Anonymous28-Jun-04 19:28 
QuestionHow to Set a Directory path for PATH environment variable Pin
pubududilena28-Jun-04 19:22
pubududilena28-Jun-04 19:22 
AnswerRe: How to Set a Directory path for PATH environment variable Pin
palbano28-Jun-04 19:30
palbano28-Jun-04 19:30 
GeneralRe: How to Set a Directory path for PATH environment variable Pin
pubududilena28-Jun-04 19:38
pubududilena28-Jun-04 19:38 
AnswerRe: How to Set a Directory path for PATH environment variable Pin
Yogesh Kshatriya29-Jun-04 2:04
Yogesh Kshatriya29-Jun-04 2:04 
Questionhow to write install program? Pin
vividtang28-Jun-04 18:30
vividtang28-Jun-04 18:30 
AnswerRe: how to write install program? Pin
l a u r e n28-Jun-04 18:55
l a u r e n28-Jun-04 18:55 
AnswerRe: how to write install program? Pin
palbano28-Jun-04 19:11
palbano28-Jun-04 19:11 
AnswerRe: how to write install program? Pin
PJ Arends28-Jun-04 20:02
professionalPJ Arends28-Jun-04 20:02 
GeneralGet Window HANDLEs of a Process Pin
Abin28-Jun-04 18:08
Abin28-Jun-04 18:08 

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.