Click here to Skip to main content
15,921,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 5:27
mveCPallini11-Mar-08 5:27 
AnswerRe: What will be the output Pin
Maximilien11-Mar-08 2:49
Maximilien11-Mar-08 2:49 
AnswerRe: What will be the output Pin
CPallini11-Mar-08 2:52
mveCPallini11-Mar-08 2:52 
AnswerRe: What will be the output Pin
David Crow11-Mar-08 5:30
David Crow11-Mar-08 5:30 
GeneralRe: What will be the output Pin
Dieghito11-Mar-08 6:14
Dieghito11-Mar-08 6:14 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 6:19
mveCPallini11-Mar-08 6:19 
GeneralRe: What will be the output Pin
Dieghito11-Mar-08 6:27
Dieghito11-Mar-08 6:27 
GeneralRe: What will be the output Pin
Maxwell Chen11-Mar-08 6:38
Maxwell Chen11-Mar-08 6:38 
Dieghito wrote:
Yes, but both methods use data member ...


No.
MyFunc only takes the address of something which doesn't exist, which is also NULL (I guess, no compiler at home now). You can print any addresses including NULL.

If you change it as _tprintf(_T("ABC %d"), m_i), it will crash.

  Maxwell Chen

AnswerRe: What will be the output Pin
Rajkumar R11-Mar-08 6:40
Rajkumar R11-Mar-08 6:40 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 6:42
mveCPallini11-Mar-08 6:42 
GeneralRe: What will be the output Pin
Maxwell Chen11-Mar-08 6:55
Maxwell Chen11-Mar-08 6:55 
GeneralRe: What will be the output Pin
Rajkumar R11-Mar-08 6:59
Rajkumar R11-Mar-08 6:59 
GeneralRe: What will be the output Pin
Maxwell Chen11-Mar-08 7:15
Maxwell Chen11-Mar-08 7:15 
GeneralRe: What will be the output Pin
Rajkumar R11-Mar-08 6:43
Rajkumar R11-Mar-08 6:43 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 6:53
mveCPallini11-Mar-08 6:53 
Generaltemplate argument Pin
George_George11-Mar-08 2:24
George_George11-Mar-08 2:24 
GeneralRe: template argument Pin
Rajkumar R11-Mar-08 2:35
Rajkumar R11-Mar-08 2:35 
GeneralRe: template argument Pin
George_George11-Mar-08 2:44
George_George11-Mar-08 2:44 
GeneralPlay avi on status bar via thread Pin
ptr_Electron11-Mar-08 1:40
ptr_Electron11-Mar-08 1:40 
GeneralRe: Play avi on status bar via thread Pin
Rajkumar R11-Mar-08 3:28
Rajkumar R11-Mar-08 3:28 
GeneralRe: Play avi on status bar via thread Pin
ptr_Electron11-Mar-08 4:08
ptr_Electron11-Mar-08 4:08 
QuestionRe: Play avi on status bar via thread Pin
Rajkumar R11-Mar-08 4:10
Rajkumar R11-Mar-08 4:10 
GeneralRe: Play avi on status bar via thread Pin
Rajkumar R11-Mar-08 5:57
Rajkumar R11-Mar-08 5:57 
QuestionHow to convert char** to char array Pin
Gofur Halmurat11-Mar-08 1:33
Gofur Halmurat11-Mar-08 1:33 
AnswerRe: How to convert char** to char array Pin
Maxwell Chen11-Mar-08 2:17
Maxwell Chen11-Mar-08 2:17 

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.