Click here to Skip to main content
15,923,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
toxcct7-Nov-07 0:23
toxcct7-Nov-07 0:23 
GeneralRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
Raj Prathap7-Nov-07 0:30
Raj Prathap7-Nov-07 0:30 
GeneralRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
CPallini7-Nov-07 0:44
mveCPallini7-Nov-07 0:44 
GeneralRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
Raj Prathap21-Nov-07 4:01
Raj Prathap21-Nov-07 4:01 
GeneralYou're welcome Pin
CPallini21-Nov-07 4:24
mveCPallini21-Nov-07 4:24 
AnswerRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
Nishad S7-Nov-07 0:35
Nishad S7-Nov-07 0:35 
AnswerRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
Don Box7-Nov-07 0:56
Don Box7-Nov-07 0:56 
AnswerRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
David Crow7-Nov-07 4:32
David Crow7-Nov-07 4:32 
Raj Prathap wrote:
DWORD dw='pp';
I was not aware that is a valid statement.


It is, because 'pp' is treated as an int, and since it is being assigned to a DWORD, all is well. Had you tried to assign it to a char instead, one of the letters (I can't recall which way it works) would have been dropped.


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionRead Console Output Pin
nitin36-Nov-07 23:39
nitin36-Nov-07 23:39 
AnswerRe: Read Console Output Pin
Raj Prathap6-Nov-07 23:45
Raj Prathap6-Nov-07 23:45 
GeneralRe: Read Console Output Pin
Matthew Faithfull7-Nov-07 0:02
Matthew Faithfull7-Nov-07 0:02 
QuestionRe: Read Console Output Pin
David Crow7-Nov-07 4:34
David Crow7-Nov-07 4:34 
QuestionAbout Memory initialization Pin
manish.patel6-Nov-07 23:30
manish.patel6-Nov-07 23:30 
AnswerRe: About Memory initialization Pin
Raj Prathap6-Nov-07 23:52
Raj Prathap6-Nov-07 23:52 
AnswerRe: About Memory initialization Pin
jhwurmbach6-Nov-07 23:56
jhwurmbach6-Nov-07 23:56 
GeneralRe: About Memory initialization Pin
toxcct7-Nov-07 0:11
toxcct7-Nov-07 0:11 
GeneralRe: About Memory initialization Pin
jhwurmbach7-Nov-07 0:35
jhwurmbach7-Nov-07 0:35 
GeneralRe: About Memory initialization Pin
Nemanja Trifunovic7-Nov-07 3:48
Nemanja Trifunovic7-Nov-07 3:48 
GeneralRe: About Memory initialization Pin
jhwurmbach7-Nov-07 3:52
jhwurmbach7-Nov-07 3:52 
GeneralRe: About Memory initialization Pin
Nemanja Trifunovic7-Nov-07 4:17
Nemanja Trifunovic7-Nov-07 4:17 
GeneralRe: About Memory initialization Pin
Matthew Faithfull6-Nov-07 23:58
Matthew Faithfull6-Nov-07 23:58 
GeneralRe: About Memory initialization Pin
toxcct7-Nov-07 0:13
toxcct7-Nov-07 0:13 
AnswerRe: About Memory initialization Pin
toxcct7-Nov-07 0:08
toxcct7-Nov-07 0:08 
AnswerRe: About Memory initialization Pin
John R. Shaw7-Nov-07 0:56
John R. Shaw7-Nov-07 0:56 
QuestionHow to make a connection to MySQL in MFC? Pin
TooShy2Talk6-Nov-07 23:15
TooShy2Talk6-Nov-07 23:15 

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.