Here you could find the code for "Perlin noise in C++11", for more informations visit the project webpage:
http://solarianprogrammer.com/2012/07/18/perlin-noise-cpp-11/
You could use this program under the terms of GPL v3, for more details see:
http://www.gnu.org/copyleft/gpl.html
Copyright 2012 Sol from www.solarianprogrammer.com