Hello,
I need some help with STL on OSX
I'm trying to use a program which calls random_shuffle, but I get the error:
/usr/include/gcc/darwin/2.95.2/g++/stl_algo.h: In function `int __random_number<int>(int)':
/usr/include/gcc/darwin/2.95.2/g++/stl_algo.h:852: instantiated from `random_shuffle<int *>(int *, int *)'
main.cpp:52: instantiated from here
Does anyone know how to fix this?
I need some help with STL on OSX
I'm trying to use a program which calls random_shuffle, but I get the error:
/usr/include/gcc/darwin/2.95.2/g++/stl_algo.h: In function `int __random_number<int>(int)':
/usr/include/gcc/darwin/2.95.2/g++/stl_algo.h:852: instantiated from `random_shuffle<int *>(int *, int *)'
main.cpp:52: instantiated from here
Does anyone know how to fix this?