Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: can someone help:-) Pin
Maximilien15-Nov-07 2:51
Maximilien15-Nov-07 2:51 
JokeRe: can someone help:-) Pin
cindy_try15-Nov-07 4:12
cindy_try15-Nov-07 4:12 
Questionaddress of constant [modified] Pin
George_George14-Nov-07 20:15
George_George14-Nov-07 20:15 
AnswerRe: address of constant Pin
Roger Broomfield14-Nov-07 20:27
Roger Broomfield14-Nov-07 20:27 
GeneralRe: address of constant Pin
George_George14-Nov-07 20:32
George_George14-Nov-07 20:32 
GeneralRe: address of constant Pin
Roger Broomfield14-Nov-07 21:12
Roger Broomfield14-Nov-07 21:12 
GeneralRe: address of constant Pin
George_George18-Nov-07 4:21
George_George18-Nov-07 4:21 
AnswerRe: address of constant Pin
Iain Clarke, Warrior Programmer14-Nov-07 23:31
Iain Clarke, Warrior Programmer14-Nov-07 23:31 
George-so-good-you-named-yourself-twice,

As has been said, the answer depends on compiler flags. But I would strongly pretend to yourself that the answer is impossible to know, and not depend on it.

If you want two pointers to the same place, be explicit about it. Or some person who changes your code in three years (ie, you) will have no idea you intended them to be the same, and will break things.
Or you will upgrade to Visual Studio 2020 (in the year 2012) and the compiler will do different things and you'll get nasty to find bugs.

To save this you'll have to write more comments than the effort is worth.

Iain.



GeneralRe: address of constant Pin
George_George18-Nov-07 4:24
George_George18-Nov-07 4:24 
QuestionFFT CODE Pin
itsgood12314-Nov-07 19:47
itsgood12314-Nov-07 19:47 
AnswerRe: FFT CODE Pin
Nelek14-Nov-07 20:28
protectorNelek14-Nov-07 20:28 
AnswerRe: FFT CODE Pin
Rajesh R Subramanian14-Nov-07 20:50
professionalRajesh R Subramanian14-Nov-07 20:50 
GeneralRe: FFT CODE Pin
itsgood12315-Nov-07 8:03
itsgood12315-Nov-07 8:03 
GeneralRe: FFT CODE Pin
Nelek15-Nov-07 20:35
protectorNelek15-Nov-07 20:35 
AnswerRe: FFT CODE Pin
jhwurmbach14-Nov-07 23:29
jhwurmbach14-Nov-07 23:29 
AnswerRe: FFT CODE Pin
Iain Clarke, Warrior Programmer14-Nov-07 23:39
Iain Clarke, Warrior Programmer14-Nov-07 23:39 
GeneralRe: FFT CODE Pin
itsgood12315-Nov-07 8:01
itsgood12315-Nov-07 8:01 
GeneralRe: FFT CODE Pin
Paul Conrad23-Dec-07 15:08
professionalPaul Conrad23-Dec-07 15:08 
QuestionCorrect "Window Data Types" Pin
CodingLover14-Nov-07 19:47
CodingLover14-Nov-07 19:47 
AnswerRe: Correct "Window Data Types" Pin
Roger Broomfield14-Nov-07 20:21
Roger Broomfield14-Nov-07 20:21 
GeneralRe: Correct "Window Data Types" Pin
CodingLover14-Nov-07 21:45
CodingLover14-Nov-07 21:45 
GeneralRe: Correct "Window Data Types" Pin
Nelek14-Nov-07 22:20
protectorNelek14-Nov-07 22:20 
GeneralRe: Correct "Window Data Types" Pin
CodingLover14-Nov-07 22:54
CodingLover14-Nov-07 22:54 
GeneralRe: Correct "Window Data Types" Pin
Nelek15-Nov-07 0:18
protectorNelek15-Nov-07 0:18 
GeneralRe: Correct "Window Data Types" Pin
CodingLover15-Nov-07 0:43
CodingLover15-Nov-07 0:43 

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.