<iostream.h> and <iostream>

Started by
11 comments, last by mokermachine 21 years ago
Thanx for the replies. I have a related question. What type of file is iostream (not iostream.h). Is it still a header file (.h) or something else?





[edited by - mokermachine on April 18, 2003 9:58:17 PM]
Advertisement
If you mean what sort of files do you include, then yes #include "yourlib.h" etc.
''iostream'' is same type of file as everything else in the language - plain text. It just has no exstension. Nowhere in the standard does it say that header files MUST have ''.h''. It quite likely suggests that you use ''.hpp'' but I''d have to look it up, and I don''t want to.

This topic is closed to new replies.

Advertisement