D
deancoo
I'm just a tad frustrated right now, because I need to ask such a n00b
question. I'm trying to use 'random_sample', however, I'm getting back a
compiler error saying; " `random_sample' undeclared (first use this
function) ". I've looked a my C++ header file 'algorithm', and its
definition seems to be there. When I include the old style, algo.h, I only
get a warning, but compilation is successful. Should I just use algo.h,
because the SGI STL documentation says it should exist in header
'algorithm'. What am I doing wrong?!
d
question. I'm trying to use 'random_sample', however, I'm getting back a
compiler error saying; " `random_sample' undeclared (first use this
function) ". I've looked a my C++ header file 'algorithm', and its
definition seems to be there. When I include the old style, algo.h, I only
get a warning, but compilation is successful. Should I just use algo.h,
because the SGI STL documentation says it should exist in header
'algorithm'. What am I doing wrong?!
d