View Single Post
Old Oct 26th, 2005, 12:24 PM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
you mean you don't want to put the .h files in the folder where also your cpp files are, so you don't have to define like this:
#include "iostream.h"
?

You can pass gcc the parameter -i/path/to/different/header/directory, gcc will look in that directory then to find header files.
Polyphemus_ is offline   Reply With Quote