I want to generate a Poisson process. If the number of arrivals by time t is N(t) and I have a Poisson distribution with parameter
Here's sample code for generating Poisson samples using C++ TR1.
If you want a Poisson process, times between arrivals are exponentially distributed, and exponential values can be generated trivially with the inverse CDF method: -k*log(u) where u is a uniform random variable and k is the mean of the exponential.