0

Why are the standard header files in C++ so non-standard? Particularly iostream seems to be the most dialectal. Enough to make the whole language a mess to work with!

4
Contributors
5
Replies
8
Views
12 Years
Discussion Span
Last Post by vegaseat
Featured Replies
  • 1

    [QUOTE=Narue]>Why are the standard header files in C++ so non-standard? They are standard and well defined. >Particularly iostream seems to be the most dialectal. Any compiler is allowed to provide non-standard extensions. Any issues you have with extensions are your problem.[/QUOTE] How do I know, if the header files that … Read More

  • [QUOTE=vegaseat]How do I know, if the header files that come with a compiler conform to the standard? The trite answer would be to read the whole C++ standard. Let's be mildly more intelligent about it.[/QUOTE] I think the intelligent solution would be to read the standard. But I can see … Read More

  • 1

    [QUOTE=Siersan]I think the intelligent solution would be to read the standard. But I can see how it would be intimidating to some people. Have you tried searching [url]www.dinkumware.com[/url]?[/QUOTE] Thanks Siersan, the Dinkum C++ Proofer is the proper tool! Read More

0

>Why are the standard header files in C++ so non-standard?
They are standard and well defined.

>Particularly iostream seems to be the most dialectal.
Any compiler is allowed to provide non-standard extensions. Any issues you have with extensions are your problem.

1

>Why are the standard header files in C++ so non-standard?
They are standard and well defined.

>Particularly iostream seems to be the most dialectal.
Any compiler is allowed to provide non-standard extensions. Any issues you have with extensions are your problem.

How do I know, if the header files that come with a compiler conform to the standard? The trite answer would be to read the whole C++ standard. Let's be mildly more intelligent about it.

0

the trite answer is indeed the one true answer.
Anything that's not in the standard docs is non-standard.

A slightly more concise answer would be that as long as you keep to what Stroustrup describes you should be fine.

1

How do I know, if the header files that come with a compiler conform to the standard? The trite answer would be to read the whole C++ standard. Let's be mildly more intelligent about it.

I think the intelligent solution would be to read the standard. But I can see how it would be intimidating to some people. Have you tried searching www.dinkumware.com?

1

I think the intelligent solution would be to read the standard. But I can see how it would be intimidating to some people. Have you tried searching www.dinkumware.com?

Thanks Siersan,
the Dinkum C++ Proofer is the proper tool!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.