Multiple Inheritance and iostreams

M

Mahadeva

What does it mean to say :

Using Multiple Inheritance, the class iostream (not to be confused
with the header file iostream - these are seperate things) and the
class fstream derived from the class iostream (again ??)

Can someone please help me. I am tossed here :(
 
J

John Harrison

Mahadeva said:
What does it mean to say :

Using Multiple Inheritance, the class iostream (not to be confused
with the header file iostream - these are seperate things) and the
class fstream derived from the class iostream (again ??)

Can someone please help me. I am tossed here :(

iostream --> istream
iostream --> ostream
fstream --> iostream

--> means 'derives from'. Does that make it clearer?

john
 
J

JKop

Mahadeva posted:
What does it mean to say :

Using Multiple Inheritance, the class iostream (not to be confused
with the header file iostream - these are seperate things) and the
class fstream derived from the class iostream (again ??)

Can someone please help me. I am tossed here :(

I don't know really. It looks like English, except 9 times out of 10 in
English, you have a verb in a sentence. Also, in English we tend to end
sentences with a "fullstop" or "period". The absence of such above may
suggest that you've provided but a sentence fragment, which may explain the
lack of a verb in the "sentence", which suggests that "derived" is an
adjective here.

If I were to guess, I'd say that's an incomplete paragraph.


-JKop
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top