日期:2014-05-16  浏览次数:20644 次

g++:如何包含外部头文件的文件夹?(急着用,在线等,谢谢大家了)
我在一个.cpp文件中要用到include文件下的很多头文件,要怎么写呢

------解决方案--------------------
#include headfile

gcc -I./your include
------解决方案--------------------
g++
------解决方案--------------------
g++ -I./include
------解决方案--------------------
http://blog.chinaunix.net/u2/70635/showart_1316413.html