|
Boost : |
From: Paul Joseph Panaro (pjpanaro_at_[hidden])
Date: 2006-02-13 19:10:42
#include <boost/random.hpp>
#include <time.h>
int main ()
{
boost::variate_generator<boost::mt19937, boost::uniform_int<> >
tf(boost::mt19937(time(NULL)),boost::uniform_int<>(0,1));
}
boost 1.31.1
random
g++ (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.1)
No Errors
g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-42):
multi.cc: In function `int main()':
multi.cc:6: syntax error before numeric constant
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk