Thanks Ian, Very useful information. Thanks, yixuan On Thu, Mar 10, 2011 at 11:52 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > Yixuan Huang <yixuan178@xxxxxxxxx> writes: > >> I can see iostream in that folder. I want to know what my .cpp file >> include? How can I know for g++ compiler. >> I tried to use g++ aa.cpp -v, but it can't show the exact header files. >> I just want to check which exact file include string.h, Just curious on it. > > Please reply to the mailing list, not just to me. ÂThanks. > > Run g++ --save-temps aa.cpp. ÂIt will create a file aa.ii. ÂThat file > will list the exact header files included, in a format described in the > cpp manual. > > Ian >