Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C4430 Pin
Iain Clarke, Warrior Programmer31-Jul-08 4:34
Iain Clarke, Warrior Programmer31-Jul-08 4:34 
GeneralRe: C4430 Pin
CPallini31-Jul-08 3:38
mveCPallini31-Jul-08 3:38 
GeneralRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:44
T.RATHA KRISHNAN31-Jul-08 3:44 
GeneralRe: C4430 Pin
CPallini31-Jul-08 3:46
mveCPallini31-Jul-08 3:46 
GeneralRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:51
T.RATHA KRISHNAN31-Jul-08 3:51 
QuestionRe: C4430 Pin
CPallini31-Jul-08 4:02
mveCPallini31-Jul-08 4:02 
AnswerRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 4:08
T.RATHA KRISHNAN31-Jul-08 4:08 
GeneralRe: C4430 Pin
Alan Balkany31-Jul-08 3:42
Alan Balkany31-Jul-08 3:42 
Ahh, it was so much clearer the second time!

You might consider the Facade design pattern (http://en.wikipedia.org/wiki/Facade_pattern[^]) to give one class access to a single function another class, without coupling the classes together.

The basic idea is to declare an interface that defines the one function, and make the existing class derive from that interface. The class that uses this function sees an instance of the existing class as the interface -- not the whole class.
QuestionExcel automation compatibility problem Pin
followait31-Jul-08 1:26
followait31-Jul-08 1:26 
AnswerRe: Excel automation compatibility problem Pin
vikas amin31-Jul-08 11:34
vikas amin31-Jul-08 11:34 
Questionexe name Pin
sunit531-Jul-08 0:30
sunit531-Jul-08 0:30 
AnswerRe: exe name Pin
sunit531-Jul-08 2:27
sunit531-Jul-08 2:27 
AnswerRe: exe name Pin
Randor 31-Jul-08 10:17
professional Randor 31-Jul-08 10:17 
GeneralRe: exe name Pin
sunit531-Jul-08 18:37
sunit531-Jul-08 18:37 
QuestionProblem with friend keyword Pin
T.RATHA KRISHNAN30-Jul-08 23:39
T.RATHA KRISHNAN30-Jul-08 23:39 
AnswerRe: Problem with friend keyword Pin
CPallini30-Jul-08 23:49
mveCPallini30-Jul-08 23:49 
GeneralRe: Problem with friend keyword Pin
T.RATHA KRISHNAN30-Jul-08 23:56
T.RATHA KRISHNAN30-Jul-08 23:56 
GeneralRe: Problem with friend keyword Pin
CPallini31-Jul-08 0:03
mveCPallini31-Jul-08 0:03 
GeneralRe: Problem with friend keyword Pin
T.RATHA KRISHNAN31-Jul-08 0:11
T.RATHA KRISHNAN31-Jul-08 0:11 
GeneralRe: Problem with friend keyword Pin
CPallini31-Jul-08 0:17
mveCPallini31-Jul-08 0:17 
GeneralRe: Problem with friend keyword Pin
T.RATHA KRISHNAN31-Jul-08 0:21
T.RATHA KRISHNAN31-Jul-08 0:21 
GeneralRe: Problem with friend keyword Pin
CPallini31-Jul-08 0:36
mveCPallini31-Jul-08 0:36 
GeneralRe: Problem with friend keyword Pin
David Crow31-Jul-08 5:36
David Crow31-Jul-08 5:36 
QuestionUSB Size [modified] Pin
mirtu30-Jul-08 23:13
mirtu30-Jul-08 23:13 
AnswerRe: USB Size Pin
CPallini30-Jul-08 23:46
mveCPallini30-Jul-08 23:46 

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.