help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automaticaly includeing headers


From: Paul Pluzhnikov
Subject: Re: Automaticaly includeing headers
Date: 15 Feb 2005 19:41:50 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

"Kelly Mandrake" <atapi103@gmail.com> writes:

> Ive noticed that I can leave out includes such as iostream and my
> program will still compile.

This is because some *other* header that you do #include already
includes iostream.

> It seems g++ is auto includeing headers,

It doesn't.

> could this be true and if so how might I turn it off.

It's not, and you can't.

> I had searched google and groups but was unable to find anything
> problably because of the search terms I was useing.

This has been discussed just 2 weeks ago in this very newsgroup.
Search 'groups.google.com' for "g++ default #include's".

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]