On Apr 28, 11:03 am, Gert-Jan de Vos <gert-
jan.de....@onsneteindhoven.nl> wrote:
> On Apr 28, 9:41 am, James Kanze <james.ka...@gmail.com> wrote:
> > On Apr 27, 8:35 pm, Gert-Jan de Vos <gert-
> > jan.de....@onsneteindhoven.nl> wrote:
> > > On Apr 27, 8:26 pm, Pallav singh <singh.pal...@gmail.com> wrote:
> > > > while compiling the following code my compiler gives me error message
> > > > " boost/smart_ptr.h: No such file or directory" . do i need to give
> > > > some comiplation option for it ...such as where to find header file
> > > Try: #include <boost/smart_ptr.hpp>
> > That shouldn't change anything. The standard says that when
> > using #include "...", if the search fails, the directive is
> > reprocessed as if it were #include <...>.
> .hpp rather than .h might make the difference..
Using the correct name of the file is a requirement, yes

.
I'd missed that you'd changed the name of the file, as well as
changing the form from "..." to <...>. (And generally, if Boost
is correctly installed, you probably should consider it part of
the "implementation", so <...> would be more appropriate.)
--
James Kanze (GABI Software) email:
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34