Code for Random Writer

Download StanfordCPP Library,run it and enjoy!! :-)