Create random cpp