Howdy all!

What directories will be searched for header files by g++, other than
those I specify with -I?

For example this program:

#include <iostream>
using namespace std;

int
main(void)
{
   cout<<"Howdy!\n";
   return 0;
}

This seems to find iostream in
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/iostream

How does it know to look in that directory? I don't tell it to look
there, but it finds iostream anyway.

Thanks,

Ed


-- 
Ed Hartnett  -- [EMAIL PROTECTED]
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to