Click here to Skip to main content
15,895,746 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Parallel port access in Windows XP Pin
Mark Salsbery15-Aug-07 9:13
Mark Salsbery15-Aug-07 9:13 
GeneralRe: Parallel port access in Windows XP Pin
led mike15-Aug-07 11:36
led mike15-Aug-07 11:36 
GeneralRe: Parallel port access in Windows XP Pin
Mark Salsbery15-Aug-07 12:21
Mark Salsbery15-Aug-07 12:21 
QuestionRe: Parallel port access in Windows XP Pin
mirispearl16-Aug-07 19:45
mirispearl16-Aug-07 19:45 
QuestionError while compiling a simple C++ program Pin
vkondar13-Aug-07 17:21
vkondar13-Aug-07 17:21 
AnswerRe: Error while compiling a simple C++ program Pin
George L. Jackson13-Aug-07 23:56
George L. Jackson13-Aug-07 23:56 
QuestionAbout inheritance Pin
Nandu_77b13-Aug-07 6:31
Nandu_77b13-Aug-07 6:31 
AnswerRe: About inheritance Pin
Luc Pattyn13-Aug-07 6:45
sitebuilderLuc Pattyn13-Aug-07 6:45 
Hi,

it depends on your definition of reuse.

1.
if you copy-and-paste some code from app1 to app2, are you reusing it ?

2.
if you need some class, and later on you create a more specialized class using
inheritance because you actually need both classes, then you are specializing,
expanding and reusing at the same time. Here reuse means the specialized class
is inheriting existing code that it does not contain itself.

3.
if you have app1 with class1 and app2 with class2, and then discover a lot of code
if common to both class1 and class2, you may be able to come up with a new
class0 that is to contain the common parts, then have class1 and class2 inherit
from it. So you reuse the common code from class1 and class2 by removing it and
inserting it in class0. class0 being more general than both class1 and class2,
has a better probability of being reused-as-is in a later app3.

Hope this helps.


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: About inheritance Pin
Nandu_77b14-Aug-07 0:00
Nandu_77b14-Aug-07 0:00 
AnswerRe: About inheritance Pin
led mike13-Aug-07 7:02
led mike13-Aug-07 7:02 
GeneralRe: About inheritance Pin
George L. Jackson13-Aug-07 13:51
George L. Jackson13-Aug-07 13:51 
GeneralRe: About inheritance Pin
Nandu_77b14-Aug-07 0:03
Nandu_77b14-Aug-07 0:03 
GeneralRe: About inheritance Pin
led mike14-Aug-07 4:55
led mike14-Aug-07 4:55 
GeneralRe: About inheritance Pin
Nandu_77b24-Aug-07 4:29
Nandu_77b24-Aug-07 4:29 
Questionreal time matrix conversion Pin
Morad Kobi13-Aug-07 4:02
Morad Kobi13-Aug-07 4:02 
AnswerRe: real time matrix conversion Pin
Luc Pattyn13-Aug-07 5:51
sitebuilderLuc Pattyn13-Aug-07 5:51 
QuestionRe: real time matrix conversion Pin
George L. Jackson13-Aug-07 13:58
George L. Jackson13-Aug-07 13:58 
QuestionAccess controls from other modules of a program Pin
eugk12-Aug-07 23:31
eugk12-Aug-07 23:31 
AnswerRe: Access controls from other modules of a program Pin
mid=574113-Aug-07 5:38
mid=574113-Aug-07 5:38 
GeneralRe: Access controls from other modules of a program Pin
eugk13-Aug-07 8:40
eugk13-Aug-07 8:40 
GeneralRe: Access controls from other modules of a program Pin
mid=574113-Aug-07 9:12
mid=574113-Aug-07 9:12 
GeneralRe: Access controls from other modules of a program Pin
eugk13-Aug-07 12:02
eugk13-Aug-07 12:02 
GeneralRe: Access controls from other modules of a program [modified] Pin
mid=574113-Aug-07 12:35
mid=574113-Aug-07 12:35 
GeneralRe: Access controls from other modules of a program Pin
eugk13-Aug-07 15:52
eugk13-Aug-07 15:52 
GeneralRe: Access controls from other modules of a program [modified] Pin
mid=574113-Aug-07 16:12
mid=574113-Aug-07 16:12 

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.