auto_ptr
s cannot be used in STL containers!. Use
boost smart pointers instead (below).
If the STL syntax confuses you, consider taking a look at
Scott Meyers'
Effective STL.
/afs/cs.cmu.edu/academic/class/15864-s04/include
so you can just add this to your include path to use it. Note that some
of the pieces of this heavily templatized library won't work with Visual
Studio 6.0's badly broken compiler; I recommend switching to VS.net
if possible.
/afs/cs.cmu.edu/academic/class/15864-s04/include
; the
only major differences are
vl
namespace. This
means that you either need to include the following at the top
of your file,
#include <vl/VLf.h>
using namespace vl;
or else you need to preface function calls and object definitions
with vl::
, as in vl::Vec3f
.
<iosfwd>
)
for modern C++ implementations./afs/cs/academic/class/15864-s04
also.
/afs/cs/academic/class/15864-s04/include
and
/afs/cs/academic/class/15864-s04/lib
.
To use it, just add the appropriate library and include paths
and use
-lgsl -lgslcblas
when linking.
One caveat: the GSL project used to provide a
Windows 2000 precompiled binary on their website. They don't appear
to do that any more; while I can't post it on this page for licensing
reasons, I've put a version in the course home directory,
/afs/cs/academic/class/15864-s04/
for people to use.
Questions? Contact Christopher Twigg.