I wanted to generate a standard normal poisson distribution. So I used the template poisson distribution included in the header <random> by setting the value of mean to 0 and variance to 1.
I copied the entire example code for testing it but I get an error like "This file requires compiler and library support for the upcoming \
ISO C++ standard, C++0x. This support is currently experimental, and must be \
enabled with the -std=c++0x or -std=gnu++0x compiler options."
Is there anyone who could help me to sort this problem.
It tells you what to do right there. You just add those options when you compile. If you're using an IDE, go to the compiler settings and there should either be a list of available options that you choose, or somewhere where you can type in an option.
If from the command line, just add one of those flags when you go to compile.