Click here to Skip to main content
15,890,186 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Enumerate or list all files on computer Pin
Brandon-X1200018-Apr-12 7:55
Brandon-X1200018-Apr-12 7:55 
AnswerRe: Enumerate or list all files on computer Pin
David Crow18-Apr-12 9:49
David Crow18-Apr-12 9:49 
AnswerRe: Enumerate or list all files on computer Pin
Richard MacCutchan18-Apr-12 5:17
mveRichard MacCutchan18-Apr-12 5:17 
AnswerRe: Enumerate or list all files on computer Pin
smags1318-Apr-12 8:38
smags1318-Apr-12 8:38 
AnswerRe: Enumerate or list all files on computer Pin
JohnCz24-Apr-12 2:04
JohnCz24-Apr-12 2:04 
Questionhow to move dialog in activex control? Pin
mir546517-Apr-12 23:10
mir546517-Apr-12 23:10 
QuestionRe: how to move dialog in activex control? Pin
David Crow18-Apr-12 2:07
David Crow18-Apr-12 2:07 
QuestionReference to a variable that goes out of scope Pin
elelont217-Apr-12 11:26
elelont217-Apr-12 11:26 
int *pi;
  {
    int i = 3; 
    pi = &i;
  }
  std::cout << *pi << std::endl;


I figure that the *pi value in std:cout can not be trusted since i goes out of scope and the address of i can be used for other stuff. Is that correct?

Thank
AnswerRe: Reference to a variable that goes out of scope Pin
Aescleal17-Apr-12 13:10
Aescleal17-Apr-12 13:10 
AnswerRe: Reference to a variable that goes out of scope Pin
Erudite_Eric17-Apr-12 22:31
Erudite_Eric17-Apr-12 22:31 
GeneralRe: Reference to a variable that goes out of scope Pin
Stefan_Lang20-Apr-12 4:10
Stefan_Lang20-Apr-12 4:10 
GeneralRe: Reference to a variable that goes out of scope Pin
Erudite_Eric20-Apr-12 22:04
Erudite_Eric20-Apr-12 22:04 
Question[solved ]: 'MAKEINTRESOURCE' - Not Working Properly Pin
AmbiguousName17-Apr-12 0:31
AmbiguousName17-Apr-12 0:31 
QuestionRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
David Crow17-Apr-12 3:10
David Crow17-Apr-12 3:10 
AnswerRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
AmbiguousName17-Apr-12 5:31
AmbiguousName17-Apr-12 5:31 
AnswerRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
Richard MacCutchan17-Apr-12 4:49
mveRichard MacCutchan17-Apr-12 4:49 
AnswerRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
AmbiguousName17-Apr-12 5:31
AmbiguousName17-Apr-12 5:31 
GeneralRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
David Crow17-Apr-12 5:37
David Crow17-Apr-12 5:37 
GeneralRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
AmbiguousName17-Apr-12 5:51
AmbiguousName17-Apr-12 5:51 
GeneralRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
David Crow17-Apr-12 6:01
David Crow17-Apr-12 6:01 
GeneralRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
AmbiguousName17-Apr-12 6:07
AmbiguousName17-Apr-12 6:07 
QuestionRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
David Crow17-Apr-12 6:39
David Crow17-Apr-12 6:39 
AnswerRe: 'MAKEINTRESOURCE' - Not Working Properly [modified] Pin
AmbiguousName17-Apr-12 6:57
AmbiguousName17-Apr-12 6:57 
GeneralRe: 'MAKEINTRESOURCE' - Not Working Properly [modified] Pin
David Crow18-Apr-12 5:08
David Crow18-Apr-12 5:08 
GeneralRe: 'MAKEINTRESOURCE' - Not Working Properly Pin
Richard MacCutchan17-Apr-12 7:08
mveRichard MacCutchan17-Apr-12 7:08 

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.