title: C++ - generate random numbers following normal distribution within range
body: <p>I need to generate random numbers that follow a normal distribution which should lie within the interval of 1000 and 11000 with a mean of 7000. I want to use the <a href="http://www.cplusplus.com/reference/random/normal_distribution/" rel="nofollow">c++11 library function</a> but I am not understanding how to generate the numbers within the interval. Can someone help?</p>