Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Accessing a Variable Pin
CPallini27-Sep-10 22:32
mveCPallini27-Sep-10 22:32 
AnswerRe: Accessing a Variable Pin
bleedingfingers27-Sep-10 22:40
bleedingfingers27-Sep-10 22:40 
T.RATHA KRISHNAN wrote:
I've declared a protected variable in a base class. I've assigned value and print the variable in a derived class. It prints correctly. I've printed the same variable inside another derived class. But it prints nothing. How to print the variable that is altered inside another derived class?


Are you asking how to share a member variable of base class across different derived classes such that changing in one will reflect in the others?
...byte till it megahertz...

GeneralRe: Accessing a Variable Pin
T.RATHA KRISHNAN27-Sep-10 22:53
T.RATHA KRISHNAN27-Sep-10 22:53 
AnswerRe: Accessing a Variable Pin
AmbiguousName27-Sep-10 23:20
AmbiguousName27-Sep-10 23:20 
AnswerRe: Accessing a Variable Pin
Niklas L27-Sep-10 23:34
Niklas L27-Sep-10 23:34 
GeneralRe: Accessing a Variable Pin
T.RATHA KRISHNAN27-Sep-10 23:50
T.RATHA KRISHNAN27-Sep-10 23:50 
GeneralRe: Accessing a Variable Pin
bleedingfingers28-Sep-10 0:04
bleedingfingers28-Sep-10 0:04 
AnswerRe: Accessing a Variable Pin
bleedingfingers27-Sep-10 23:42
bleedingfingers27-Sep-10 23:42 
GeneralRe: Accessing a Variable Pin
Moak27-Sep-10 23:49
Moak27-Sep-10 23:49 
JokeRe: Accessing a Variable Pin
bleedingfingers28-Sep-10 0:03
bleedingfingers28-Sep-10 0:03 
GeneralRe: Accessing a Variable Pin
T.RATHA KRISHNAN28-Sep-10 0:38
T.RATHA KRISHNAN28-Sep-10 0:38 
QuestionWM_COPYDATA fails with error RPC_E_CANTCALLOUT_ININPUTSYNCCALL [modified] Pin
sashoalm27-Sep-10 21:15
sashoalm27-Sep-10 21:15 
QuestionMutex blocks CreateFileMapping Pin
Maxwell Chen27-Sep-10 20:52
Maxwell Chen27-Sep-10 20:52 
AnswerRe: Mutex blocks CreateFileMapping Pin
Code-o-mat27-Sep-10 22:46
Code-o-mat27-Sep-10 22:46 
GeneralRe: Mutex blocks CreateFileMapping Pin
Maxwell Chen27-Sep-10 22:54
Maxwell Chen27-Sep-10 22:54 
GeneralRe: Mutex blocks CreateFileMapping Pin
Code-o-mat27-Sep-10 23:04
Code-o-mat27-Sep-10 23:04 
GeneralRe: Mutex blocks CreateFileMapping Pin
Maxwell Chen27-Sep-10 23:05
Maxwell Chen27-Sep-10 23:05 
GeneralRe: Mutex blocks CreateFileMapping Pin
Code-o-mat27-Sep-10 23:17
Code-o-mat27-Sep-10 23:17 
GeneralRe: Mutex blocks CreateFileMapping Pin
Maxwell Chen27-Sep-10 23:32
Maxwell Chen27-Sep-10 23:32 
GeneralRe: Mutex blocks CreateFileMapping Pin
Code-o-mat27-Sep-10 23:57
Code-o-mat27-Sep-10 23:57 
GeneralRe: Mutex blocks CreateFileMapping Pin
Maxwell Chen28-Sep-10 0:04
Maxwell Chen28-Sep-10 0:04 
GeneralRe: Mutex blocks CreateFileMapping Pin
Code-o-mat28-Sep-10 0:04
Code-o-mat28-Sep-10 0:04 
GeneralRe: Mutex blocks CreateFileMapping Pin
Aescleal28-Sep-10 1:03
Aescleal28-Sep-10 1:03 
GeneralRe: Mutex blocks CreateFileMapping Pin
Code-o-mat28-Sep-10 1:11
Code-o-mat28-Sep-10 1:11 
AnswerRe: Mutex blocks CreateFileMapping PinPopular
«_Superman_»28-Sep-10 0:05
professional«_Superman_»28-Sep-10 0:05 

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.