Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Pointer address Pin
Magnus Westin9-May-06 4:23
Magnus Westin9-May-06 4:23 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 5:50
Frigyes Nagy9-May-06 5:50 
GeneralRe: Pointer address Pin
Maximilien9-May-06 6:49
Maximilien9-May-06 6:49 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 7:24
Frigyes Nagy9-May-06 7:24 
AnswerRe: Pointer address Pin
Maxwell Chen9-May-06 7:30
Maxwell Chen9-May-06 7:30 
AnswerRe: Pointer address Pin
Maxwell Chen9-May-06 7:48
Maxwell Chen9-May-06 7:48 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 8:43
Frigyes Nagy9-May-06 8:43 
AnswerRe: Pointer address Pin
Maxwell Chen9-May-06 7:40
Maxwell Chen9-May-06 7:40 
Frigyes Nagy wrote:
wsprintf(szBuf, "address:%d ", a );


A pointer should be something like
UINT* pNum = &a;

And, to observe the address of the pointer, you should do this way:
sprintf(szBuf, "address: 0x%p \n", pNum);


Maxwell Chen
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 8:33
Frigyes Nagy9-May-06 8:33 
GeneralRe: Pointer address Pin
Maxwell Chen9-May-06 8:51
Maxwell Chen9-May-06 8:51 
Questionmax number of threads/Win32 process Pin
Shiva Prasad9-May-06 3:43
Shiva Prasad9-May-06 3:43 
AnswerRe: max number of threads/Win32 process Pin
Magnus Westin9-May-06 3:50
Magnus Westin9-May-06 3:50 
AnswerRe: max number of threads/Win32 process Pin
Cedric Moonen9-May-06 3:52
Cedric Moonen9-May-06 3:52 
QuestionHow to delete a row in listctrl using Keyboard delete Pin
Raja Bose C Leo9-May-06 2:47
Raja Bose C Leo9-May-06 2:47 
AnswerRe: How to delete a row in listctrl using Keyboard delete Pin
RChin9-May-06 3:00
RChin9-May-06 3:00 
Questionmicrosoft Pin
Krishnatv9-May-06 2:46
Krishnatv9-May-06 2:46 
AnswerRe: microsoft Pin
toxcct9-May-06 2:52
toxcct9-May-06 2:52 
GeneralRe: microsoft Pin
Krishnatv9-May-06 3:01
Krishnatv9-May-06 3:01 
AnswerRe: microsoft Pin
Rage9-May-06 3:12
professionalRage9-May-06 3:12 
QuestionMemory Leak, context Device Pin
LinDaSu9-May-06 2:44
LinDaSu9-May-06 2:44 
AnswerRe: Memory Leak, context Device Pin
Magnus Westin9-May-06 4:10
Magnus Westin9-May-06 4:10 
Questionservice in c++,mfc Pin
raghuji.rao9-May-06 2:28
raghuji.rao9-May-06 2:28 
QuestionRe: service in c++,mfc Pin
David Crow9-May-06 2:42
David Crow9-May-06 2:42 
AnswerRe: service in c++,mfc Pin
toxcct9-May-06 2:43
toxcct9-May-06 2:43 
QuestionHelp required:Creating IE instance Pin
rana749-May-06 2:25
rana749-May-06 2:25 

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.