sahar kouroshnezhad wrote:
Hi, I am a new user in g++,I want to compile a g++ code which includes other g++ codes,these included files and the main file is in different pathes,would youplease tell me how can i compile this code?
'info gcc' contains a brief explanation of the -I option If you are using a make which supports VPATH, you may be interested in that.