Andre Heinen wrote:
> On Thu, 26 Aug 2004 10:25:37 -0400, Will Twentyman
> <> wrote:
>
>>Andre Heinen wrote:
>>
>>>On 25 Aug 2004 05:13:38 -0700, (TuPLaD) wrote:
>>>
>>>>#include "iostream"
>>>
>>><snip>
>>
>>I think that if he used #include "iostream.h" it would work.
>><snip>
>
>
> His mistake was to use gcc instead of g++. I have the same
> system: when linked correctly, the program works fine with
> "iostream". With "iostream.h", it works fine too, but the
> compiler gives a warning.
>
> What puzzles me is that I thought it was illegal to use double
> quotes to include standard headers. I'd like someone who knows
> better than me to confirm.
According to what I've got handy (Stroustrup), double quotes include
from the current directory, <> grabs from the standard include directory
and should not have ".h".
--
Will Twentyman
email: wtwentyman at copper dot net