Click here to Skip to main content
15,915,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is this a Bug or What? Pin
sanket.patel11-Apr-07 11:53
sanket.patel11-Apr-07 11:53 
GeneralRe: Is this a Bug or What? Pin
sthotakura11-Apr-07 11:58
sthotakura11-Apr-07 11:58 
GeneralRe: Is this a Bug or What? Pin
toxcct11-Apr-07 12:03
toxcct11-Apr-07 12:03 
GeneralRe: Is this a Bug or What? Pin
Christian Graus11-Apr-07 15:49
protectorChristian Graus11-Apr-07 15:49 
GeneralRe: Is this a Bug or What? Pin
BadKarma11-Apr-07 20:34
BadKarma11-Apr-07 20:34 
GeneralRe: Is this a Bug or What? Pin
Christian Graus12-Apr-07 1:50
protectorChristian Graus12-Apr-07 1:50 
GeneralRe: Is this a Bug or What? Pin
Rajesh R Subramanian11-Apr-07 22:43
professionalRajesh R Subramanian11-Apr-07 22:43 
AnswerRe: Is this a Bug or What? Pin
toxcct11-Apr-07 12:00
toxcct11-Apr-07 12:00 
sanket.patel wrote:
#define private public



sanket.patel wrote:
I was able to access private member outside the class? why did this work?


of course you could !! you told it (with the #define) to replace each private keyword occurence by public... so that every private member is actually public.

why on earth where you trying to do with such horror ?! WTF | :WTF:


GeneralRe: Is this a Bug or What? Pin
sanket.patel11-Apr-07 12:11
sanket.patel11-Apr-07 12:11 
GeneralRe: Is this a Bug or What? Pin
toxcct11-Apr-07 12:17
toxcct11-Apr-07 12:17 
GeneralRe: Is this a Bug or What? Pin
sanket.patel11-Apr-07 12:25
sanket.patel11-Apr-07 12:25 
AnswerRe: Is this a Bug or What? Pin
Michael Dunn11-Apr-07 18:47
sitebuilderMichael Dunn11-Apr-07 18:47 
AnswerRe: Is this a Bug or What? Pin
Rajesh R Subramanian11-Apr-07 18:53
professionalRajesh R Subramanian11-Apr-07 18:53 
AnswerRe: Is this a Bug or What? Pin
cp987611-Apr-07 20:11
cp987611-Apr-07 20:11 
GeneralRe: Is this a Bug or What? Pin
Mark Salsbery12-Apr-07 8:15
Mark Salsbery12-Apr-07 8:15 
QuestionUpgraded from Visual C++ 6.0 Pin
SimplCodr11-Apr-07 10:56
SimplCodr11-Apr-07 10:56 
AnswerRe: Upgraded from Visual C++ 6.0 Pin
Michael Dunn11-Apr-07 11:30
sitebuilderMichael Dunn11-Apr-07 11:30 
GeneralRe: Upgraded from Visual C++ 6.0 Pin
SimplCodr11-Apr-07 12:39
SimplCodr11-Apr-07 12:39 
GeneralRe: Upgraded from Visual C++ 6.0 Pin
Michael Dunn11-Apr-07 13:43
sitebuilderMichael Dunn11-Apr-07 13:43 
QuestionChanging text color in a RecordList Pin
LCI11-Apr-07 10:52
LCI11-Apr-07 10:52 
Questionusing STL Vector [modified] Pin
act_x11-Apr-07 9:26
act_x11-Apr-07 9:26 
AnswerRe: using STL Vector Pin
Mark Salsbery11-Apr-07 10:08
Mark Salsbery11-Apr-07 10:08 
GeneralRe: using STL Vector Pin
led mike11-Apr-07 10:10
led mike11-Apr-07 10:10 
GeneralRe: using STL Vector Pin
Mark Salsbery11-Apr-07 10:14
Mark Salsbery11-Apr-07 10:14 
GeneralRe: using STL Vector Pin
act_x11-Apr-07 10:37
act_x11-Apr-07 10:37 

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.