Click here to Skip to main content
15,900,589 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: UP and DOWN keyboard event in MFC Application(Very Urgent) Pin
David Crow8-Jul-08 3:12
David Crow8-Jul-08 3:12 
JokeRe: UP and DOWN keyboard event in MFC Application(Very Urgent) Pin
Mark Salsbery8-Jul-08 6:43
Mark Salsbery8-Jul-08 6:43 
AnswerRe: UP and DOWN keyboard event in MFC Application(Very Urgent) Pin
Stephen Hewitt8-Jul-08 15:03
Stephen Hewitt8-Jul-08 15:03 
Questiondialog help Pin
projectip7-Jul-08 22:08
projectip7-Jul-08 22:08 
AnswerRe: dialog help Pin
_AnsHUMAN_ 7-Jul-08 22:22
_AnsHUMAN_ 7-Jul-08 22:22 
GeneralRe: dialog help Pin
projectip7-Jul-08 22:36
projectip7-Jul-08 22:36 
GeneralRe: dialog help Pin
_AnsHUMAN_ 7-Jul-08 23:02
_AnsHUMAN_ 7-Jul-08 23:02 
GeneralRe: dialog help Pin
projectip7-Jul-08 23:17
projectip7-Jul-08 23:17 
GeneralRe: dialog help Pin
_AnsHUMAN_ 7-Jul-08 23:32
_AnsHUMAN_ 7-Jul-08 23:32 
GeneralRe: dialog help Pin
projectip8-Jul-08 0:17
projectip8-Jul-08 0:17 
GeneralRe: dialog help [modified] Pin
Varghese Paul M8-Jul-08 1:16
Varghese Paul M8-Jul-08 1:16 
AnswerRe: dialog help Pin
Rajesh R Subramanian8-Jul-08 0:52
professionalRajesh R Subramanian8-Jul-08 0:52 
QuestionGet focus Pin
iayd7-Jul-08 21:50
iayd7-Jul-08 21:50 
AnswerRe: Get focus Pin
Yajnesh Narayan Behera8-Jul-08 1:54
Yajnesh Narayan Behera8-Jul-08 1:54 
Questionits showing Error ? Pin
nisha000007-Jul-08 21:24
nisha000007-Jul-08 21:24 
AnswerRe: its showing Error ? Pin
_AnsHUMAN_ 7-Jul-08 21:44
_AnsHUMAN_ 7-Jul-08 21:44 
Questionhow to know which port is being used by which process with windows API? Pin
ZhiLiangLin7-Jul-08 21:08
ZhiLiangLin7-Jul-08 21:08 
AnswerRe: how to know which port is being used by which process with windows API? Pin
_AnsHUMAN_ 7-Jul-08 21:48
_AnsHUMAN_ 7-Jul-08 21:48 
QuestionVisual Studio remote debugging Pin
George_George7-Jul-08 20:16
George_George7-Jul-08 20:16 
Questionwhy can't we declare data member of class auto register or extern Pin
rajneshmalik7-Jul-08 20:07
rajneshmalik7-Jul-08 20:07 
AnswerRe: why can't we declare data member of class auto register or extern Pin
Mark Salsbery8-Jul-08 6:53
Mark Salsbery8-Jul-08 6:53 
GeneralRe: why can't we declare data member of class auto register or extern Pin
rajneshmalik8-Jul-08 18:27
rajneshmalik8-Jul-08 18:27 
GeneralRe: why can't we declare data member of class auto register or extern Pin
Mark Salsbery9-Jul-08 5:43
Mark Salsbery9-Jul-08 5:43 
rajneshmalik wrote:
then obviously by default data type of i is auto int


No, it isn't. i is a class member.

auto variables have a local lifetime - the lifetime of i is determined by the
lifetime of the object it is in.

register - same thing. You've only declared i. Until there's an instance of an "a" object,
i doesn't exist. How, then, can you give i a storage specifier?

extern? Makes NO sense. How can a member of an object be somewhere else - some external location?







Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionCompare two XML Files Pin
manju#1237-Jul-08 19:29
manju#1237-Jul-08 19:29 
AnswerRe: Compare two XML Files Pin
Sarath C7-Jul-08 19:56
Sarath C7-Jul-08 19:56 

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.