Click here to Skip to main content
15,891,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Compare two XML Files Pin
manju#1237-Jul-08 20:31
manju#1237-Jul-08 20:31 
Questionhelp in vc++(files) Pin
projectip7-Jul-08 19:04
projectip7-Jul-08 19:04 
AnswerRe: help in vc++(files) Pin
_AnsHUMAN_ 7-Jul-08 19:22
_AnsHUMAN_ 7-Jul-08 19:22 
GeneralRe: help in vc++(files) Pin
projectip7-Jul-08 19:27
projectip7-Jul-08 19:27 
GeneralRe: help in vc++(files) Pin
_AnsHUMAN_ 7-Jul-08 20:04
_AnsHUMAN_ 7-Jul-08 20:04 
GeneralRe: help in vc++(files) Pin
projectip7-Jul-08 20:23
projectip7-Jul-08 20:23 
GeneralRe: help in vc++(files) Pin
_AnsHUMAN_ 7-Jul-08 20:31
_AnsHUMAN_ 7-Jul-08 20:31 
GeneralRe: help in vc++(files) Pin
projectip7-Jul-08 20:50
projectip7-Jul-08 20:50 
AnswerRe: help in vc++(files) Pin
Sarath C7-Jul-08 19:39
Sarath C7-Jul-08 19:39 
QuestionRe: help in vc++(files) Pin
David Crow8-Jul-08 3:20
David Crow8-Jul-08 3:20 
QuestionNot able to see RT_MANIFEST in the exe Pin
subramanyeswari7-Jul-08 18:55
subramanyeswari7-Jul-08 18:55 
AnswerRe: Not able to see RT_MANIFEST in the exe Pin
Sarath C7-Jul-08 19:43
Sarath C7-Jul-08 19:43 
GeneralRe: Not able to see RT_MANIFEST in the exe Pin
subramanyeswari8-Jul-08 1:37
subramanyeswari8-Jul-08 1:37 
Question[GDI+] alpha determined by gray value Pin
followait7-Jul-08 17:20
followait7-Jul-08 17:20 
AnswerRe: [GDI+] alpha determined by gray value Pin
pallaka7-Jul-08 20:30
pallaka7-Jul-08 20:30 

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.