473,495 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

containment of standard c++ classes

Does anyone know ( giving a URL is obviously o.k.) which of the C++
classes contain each other?

(For example, <fstreamcontains <iostream[I think]).

This did sound to me a bit like a FAQ question so I googled around a
bit, but couldn't find it. Apologies if it's a FAQ.

Paul Epstein

P.S. Maybe I should have said "FA question" instead of "FAQ question."
But I don't think so because Americans talk about "ATM machines". No
one ever says "AT machines".

Aug 21 '06 #1
2 2265

<pa**********@att.netskrev i meddelandet
news:11**********************@h48g2000cwc.googlegr oups.com...
Does anyone know ( giving a URL is obviously o.k.) which of the C++
classes contain each other?
The standard just says that a header may include other headers. It
doesn't give a list of which ones.

The intention seems to be that all names used in a header should be
defined as needed, so that a file containing just

#include <some-header>

should compile. It is up to each implementation to ensure that it
does.

>
(For example, <fstreamcontains <iostream[I think]).
I don't think so. :-)

It might include <istreamand <ostream>, but we cannot be sure.

Bo Persson
Aug 21 '06 #2
<pa**********@att.netwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Does anyone know ( giving a URL is obviously o.k.) which of the C++
classes contain each other?

(For example, <fstreamcontains <iostream[I think]).

This did sound to me a bit like a FAQ question so I googled around a
bit, but couldn't find it. Apologies if it's a FAQ.

Paul Epstein

P.S. Maybe I should have said "FA question" instead of "FAQ question."
But I don't think so because Americans talk about "ATM machines". No
one ever says "AT machines".
It's implementation dependant, and I presume you meant "headers" and not
"classes".

<fstreamis a header file that (probably) contains templates and (probably)
class definitions.

Each compiler has it's own standard headers and they are all pretty much
different, although there are usually similarities. On one compiler
<fstreammay include <iostreamand on another compiler it may not.
Aug 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4493
by: Chandrashekara Adiga | last post by:
hi This is particular to Containment classes .. ( just taking an example from rougewave ) Can someone point out How destrutor of new RWDate(2, "Nov", 1980) will be called? Is is our...
1
3914
by: Dave | last post by:
Hello all, The methodology of policy-based design states that one should inherit from policy classes and, of course, these classes must provide an agreed-upon public interface and semantics. ...
43
4909
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
1
3231
by: Baski | last post by:
Does anyone knows any article explains effective use of containment and aggregation with interfaces using C#. Thanks Baski
3
1331
by: Mr Dyl | last post by:
Hello, maybe somebody can enlighten me? :) I wasn't really sure how to concisely describe the following scenario so it was tricky to search for help. Simplifying the problem... I have a home...
0
1869
by: David Veeneman | last post by:
This post is for the Google crawler-- no response in required. Can a containment hierarchy made up of two collections derived from BindingList<T> be data-bound to master-detail dataGridView...
3
2892
by: Smithers | last post by:
I'm designing a Windows Forms application for a medical clinic that keeps complete and comprehensive histories on its patients: histories of medical conditions and facts, financial facts,...
9
2804
by: Grizlyk | last post by:
Somebody have offered std colors to C++ in the msg here: http://groups.google.com/group/comp.lang.c++/browse_frm/thread/2e5bb3d36ece543b/1acf6cd7e3ebdbcd#1acf6cd7e3ebdbcd The main objection to...
12
5437
by: Daz | last post by:
Hi guys, I'm trying to make a script.aculo.us sortable list have a limited number of elements in it. Now I can check for this really easily and have a warning message, and of course the php...
0
7120
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6878
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7373
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4897
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4583
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
649
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
286
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.