g++:如何包含外部头文件的文件夹?(急着用,在线等,谢谢大家了)
我在一个.cpp文件中要用到include文件下的很多头文件,要怎么写呢
[解决办法]
#include headfile
gcc -I./your include
[解决办法]
g++
[解决办法]
g++ -I./include
[解决办法]
http://blog.chinaunix.net/u2/70635/showart_1316413.html
发布时间: 2012-04-04 16:38:51 作者: rapoo
g++:如何包含外部头文件的文件夹?(急着用,在线等,谢谢大家了)
我在一个.cpp文件中要用到include文件下的很多头文件,要怎么写呢
[解决办法]
#include headfile
gcc -I./your include
[解决办法]
g++
[解决办法]
g++ -I./include
[解决办法]
http://blog.chinaunix.net/u2/70635/showart_1316413.html