Click here to Skip to main content
15,918,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Editable subitem code needed!! URGENT Pin
IrishSonic29-Sep-03 23:26
IrishSonic29-Sep-03 23:26 
GeneralRe: Editable subitem code needed!! URGENT Pin
b_girl30-Sep-03 3:17
b_girl30-Sep-03 3:17 
GeneralRe: Editable subitem code needed!! URGENT Pin
b_girl30-Sep-03 5:12
b_girl30-Sep-03 5:12 
GeneralRe: Editable subitem code needed!! URGENT Pin
IrishSonic2-Oct-03 22:26
IrishSonic2-Oct-03 22:26 
GeneralRe: Editable subitem code needed!! URGENT Pin
b_girl3-Oct-03 3:32
b_girl3-Oct-03 3:32 
GeneralAdding a new resource Pin
Rome Singh29-Sep-03 3:57
Rome Singh29-Sep-03 3:57 
Generalanother CListCtrl question Pin
b_girl29-Sep-03 3:51
b_girl29-Sep-03 3:51 
GeneralRe: another CListCtrl question Pin
Terry O'Nolley29-Sep-03 6:04
Terry O'Nolley29-Sep-03 6:04 
GeneralRe: another CListCtrl question Pin
b_girl29-Sep-03 6:51
b_girl29-Sep-03 6:51 
GeneralIterating through the duplicate keys in multimap Pin
pankajdaga29-Sep-03 3:44
pankajdaga29-Sep-03 3:44 
GeneralRe: Iterating through the duplicate keys in multimap Pin
Joaquín M López Muñoz29-Sep-03 4:20
Joaquín M López Muñoz29-Sep-03 4:20 
GeneralRe: Iterating through the duplicate keys in multimap Pin
Anonymous29-Sep-03 4:21
Anonymous29-Sep-03 4:21 
GeneralDirectX pixel drawing Pin
skaanji29-Sep-03 3:14
skaanji29-Sep-03 3:14 
GeneralRe: DirectX pixel drawing Pin
ZoogieZork29-Sep-03 6:32
ZoogieZork29-Sep-03 6:32 
GeneralRe: DirectX pixel drawing Pin
skaanji29-Sep-03 8:16
skaanji29-Sep-03 8:16 
GeneralDebug Window. Pin
73Zeppelin29-Sep-03 3:12
73Zeppelin29-Sep-03 3:12 
GeneralRe: Debug Window. Pin
Adam Gritt29-Sep-03 3:38
Adam Gritt29-Sep-03 3:38 
GeneralRe: Debug Window. Pin
73Zeppelin29-Sep-03 4:07
73Zeppelin29-Sep-03 4:07 
GeneralGet click event from a DialogBar Pin
Sebastien Bouchard29-Sep-03 2:45
Sebastien Bouchard29-Sep-03 2:45 
GeneralRe: Get click event from a DialogBar Pin
Michael Dunn29-Sep-03 6:28
sitebuilderMichael Dunn29-Sep-03 6:28 
QuestionHow to convert a pointer to char*? Pin
DaFrawg29-Sep-03 2:10
DaFrawg29-Sep-03 2:10 
AnswerRe: How to convert a pointer to char*? Pin
Bernhard29-Sep-03 2:20
Bernhard29-Sep-03 2:20 
AnswerRe: How to convert a pointer to char*? Pin
Adam Gritt29-Sep-03 2:35
Adam Gritt29-Sep-03 2:35 
AnswerRe: How to convert a pointer to char*? Pin
Iain Clarke, Warrior Programmer29-Sep-03 3:47
Iain Clarke, Warrior Programmer29-Sep-03 3:47 
AnswerRe: How to convert a pointer to char*? Pin
David Crow29-Sep-03 5:21
David Crow29-Sep-03 5:21 
DaFrawg wrote:
I want to output the memory location of nInt.

This printed out the address for me:

int     nNumber,
        *pAddr;
 
pAddr = &nNumber;
cout << pAddr << endl;


If you want that address in a char* variable, use:

char addr[32];
sprintf(addr, "%#x", pAddr);
cout << addr << endl;



Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

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.