compiling header file and souce files
hi all,
i am a newbie in linux.. anyone can help how to find out the meaning of -I. in compiling and linking the header file and source file ==> g++ -I. file1.cpp file2.cpp |
Why don't you check the man page of g++ instead of asking here? First go through the man page, if you don't understand there then ask here.
|
Welcome to LQ. .. :) ..
-I<dir> : Tells where to find the headers. Example : -I/usr/include -I. -I. is the current directory. One period ( . ) means the current directory. . |
thanks Knudfi.. for detail explanations..
|
All times are GMT -5. The time now is 03:35 PM. |