Click here to Skip to main content
15,917,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSetup HyperTerminal ?? Pin
Kabashiro19-Jan-05 1:26
Kabashiro19-Jan-05 1:26 
AnswerRe: Setup HyperTerminal ?? Pin
Antony M Kancidrowski19-Jan-05 3:43
Antony M Kancidrowski19-Jan-05 3:43 
GeneralMy bug or C++ bug Pin
Emilio Garavaglia19-Jan-05 1:19
Emilio Garavaglia19-Jan-05 1:19 
GeneralRe: My bug or C++ bug Pin
Antony M Kancidrowski19-Jan-05 3:53
Antony M Kancidrowski19-Jan-05 3:53 
GeneralRe: My bug or C++ bug Pin
Emilio Garavaglia19-Jan-05 4:22
Emilio Garavaglia19-Jan-05 4:22 
GeneralRe: My bug or C++ bug Pin
John R. Shaw19-Jan-05 9:39
John R. Shaw19-Jan-05 9:39 
GeneralRe: My bug or C++ bug Pin
Emilio Garavaglia19-Jan-05 20:59
Emilio Garavaglia19-Jan-05 20:59 
GeneralRe: My bug or C++ bug Pin
John R. Shaw29-Jan-05 11:07
John R. Shaw29-Jan-05 11:07 
Well the compiler will still do some optimising. The real problem probably lays in how it is inlining the code. I do not have the 7.0 compiler, but it would be interesting to see if it would choke on (2 & flag) with your code. I suspect that it would see that and produce the correct inline code instead of what ever it was producing. The only real way to see what it is doing is to look at the asymbly code, before and after modifying the code.

Laugh | :laugh: No I do not believe it would turn 2 to 0, every place that 2 is in your code is unique to that piece of code, so subsequent statements where 2 is applied is unique. 2 is a true constant where the variable i was a temporay constant with a specific address location.

INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralAlter the dimensions of a metafile Pin
Dimitris Vikeloudas19-Jan-05 0:46
Dimitris Vikeloudas19-Jan-05 0:46 
GeneralRe: Alter the dimensions of a metafile Pin
Shog919-Jan-05 8:53
sitebuilderShog919-Jan-05 8:53 
Generalerror LNK2019: unresolved external symbol "public: __thiscall Pin
aj168219-Jan-05 0:44
aj168219-Jan-05 0:44 
GeneralRe: error LNK2019: unresolved external symbol "public: __thiscall Pin
rrrado19-Jan-05 0:56
rrrado19-Jan-05 0:56 
GeneralScroll messages from IE Pin
Filomela18-Jan-05 23:32
Filomela18-Jan-05 23:32 
GeneralRe: Scroll messages from IE Pin
rrrado19-Jan-05 0:29
rrrado19-Jan-05 0:29 
GeneralUsing Performance Graph... Pin
utkumanyaksalak18-Jan-05 23:27
utkumanyaksalak18-Jan-05 23:27 
GeneralWave Format Transforming Question Pin
IsaacLitingjun18-Jan-05 22:56
IsaacLitingjun18-Jan-05 22:56 
Generaldouble buffering on a mfc dialog with CTreeCtrl as content Pin
neosun18-Jan-05 22:42
neosun18-Jan-05 22:42 
GeneralRe: double buffering on a mfc dialog with CTreeCtrl as content Pin
Martin Koorts19-Jan-05 6:30
Martin Koorts19-Jan-05 6:30 
GeneralRe: double buffering on a mfc dialog with CTreeCtrl as content Pin
Shog919-Jan-05 8:51
sitebuilderShog919-Jan-05 8:51 
GeneralForwared Calls Pin
Maxime Labelle18-Jan-05 22:41
Maxime Labelle18-Jan-05 22:41 
Generalodbc, dao, oledb, ado database question ! Pin
Anonymous18-Jan-05 22:28
Anonymous18-Jan-05 22:28 
GeneralRe: odbc, dao, oledb, ado database question ! Pin
IsaacLitingjun18-Jan-05 22:55
IsaacLitingjun18-Jan-05 22:55 
GeneralRe: odbc, dao, oledb, ado database question ! Pin
Anonymous19-Jan-05 0:07
Anonymous19-Jan-05 0:07 
GeneralRe: odbc, dao, oledb, ado database question ! Pin
IsaacLitingjun19-Jan-05 0:17
IsaacLitingjun19-Jan-05 0:17 
GeneralRe: odbc, dao, oledb, ado database question ! Pin
Anonymous19-Jan-05 0:32
Anonymous19-Jan-05 0:32 

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.