Click here to Skip to main content
15,120,739 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reading data from Folder Pin
Nishad S10-Sep-07 2:32
MemberNishad S10-Sep-07 2:32 
AnswerRe: Reading data from Folder Pin
David Crow10-Sep-07 6:35
MemberDavid Crow10-Sep-07 6:35 
AnswerRe: Reading data from Folder Pin
david bagaturia10-Sep-07 20:43
Memberdavid bagaturia10-Sep-07 20:43 
QuestionAbout IntelliSense Pin
GauranG Shah10-Sep-07 1:53
MemberGauranG Shah10-Sep-07 1:53 
AnswerRe: About IntelliSense Pin
baerten10-Sep-07 3:42
Memberbaerten10-Sep-07 3:42 
QuestionGeneral Questions Pin
rajaratk10-Sep-07 1:21
Memberrajaratk10-Sep-07 1:21 
AnswerRe: General Questions Pin
Russell'10-Sep-07 1:30
MemberRussell'10-Sep-07 1:30 
AnswerRe: General Questions Pin
Matthew Faithfull10-Sep-07 1:32
MemberMatthew Faithfull10-Sep-07 1:32 
Suspiciously homeworky Unsure | :~
I reckon you can multiply 1 by 2 so on to the second part. The a varaible is a local varibale in the function you have written. This along with the way it's declared mean that it ends up on the stack. If you think what happens to the stack for this function when execution leaves the function then you'll understand what returning &a will give you. If the stack means nothing to you then you've discovered the point of the exercise. If you're into full on low level code and just not familiar with C++ then I'd recommend debugging through the example you posted in the disassembly window.

Nothing is exactly what it seems but everything with seems can be unpicked.

AnswerRe: General Questions Pin
Russell'10-Sep-07 1:38
MemberRussell'10-Sep-07 1:38 
GeneralRe: General Questions Pin
jhwurmbach10-Sep-07 3:20
Memberjhwurmbach10-Sep-07 3:20 
JokeRe: General Questions Pin
Russell'10-Sep-07 3:28
MemberRussell'10-Sep-07 3:28 
JokeRe: General Questions Pin
jhwurmbach10-Sep-07 3:30
Memberjhwurmbach10-Sep-07 3:30 
GeneralRe: General Questions Pin
Russell'10-Sep-07 3:35
MemberRussell'10-Sep-07 3:35 
AnswerRe: General Questions Pin
rajaratk10-Sep-07 1:48
Memberrajaratk10-Sep-07 1:48 
AnswerGeneral answer. Pin
Maximilien10-Sep-07 2:11
MemberMaximilien10-Sep-07 2:11 
QuestionPlotting graph using MFC Pin
Maynka10-Sep-07 1:15
MemberMaynka10-Sep-07 1:15 
GeneralRe: Plotting graph using MFC Pin
Matthew Faithfull10-Sep-07 1:23
MemberMatthew Faithfull10-Sep-07 1:23 
AnswerRe: Plotting graph using MFC Pin
Cedric Moonen10-Sep-07 1:55
MemberCedric Moonen10-Sep-07 1:55 
QuestionWill VC 2005 installation affect existing VC 6? Pin
Nishad S10-Sep-07 0:56
MemberNishad S10-Sep-07 0:56 
AnswerRe: Will VC 2005 installation affect existing VC 6? Pin
Cedric Moonen10-Sep-07 1:06
MemberCedric Moonen10-Sep-07 1:06 
GeneralRe: Will VC 2005 installation affect existing VC 6? Pin
Nishad S10-Sep-07 2:21
MemberNishad S10-Sep-07 2:21 
GeneralRe: Will VC 2005 installation affect existing VC 6? Pin
Nibu babu thomas10-Sep-07 4:23
MemberNibu babu thomas10-Sep-07 4:23 
GeneralRe: Will VC 2005 installation affect existing VC 6? Pin
Nishad S10-Sep-07 20:46
MemberNishad S10-Sep-07 20:46 
AnswerRe: Will VC 2005 installation affect existing VC 6? Pin
KarstenK10-Sep-07 3:05
mveKarstenK10-Sep-07 3:05 
QuestionFile association with vc6 Pin
followait10-Sep-07 0:44
Memberfollowait10-Sep-07 0:44 

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.