I noticed that the answer mentions that when GDAL is built from source there would be a tools folder with examples of how to initialize a created raster. I have GDAL built from source (following the steps specified here: http://crowdsimulation.blogspot.com/2015/07/geospatial-data-abstraction-library.html?showComment=1452035822922#c1369732198978557869) in Visual Studio 2010 and a 32 bit machine.
However, I am not able to locate the tools folder with the examples. Is there any other source where I can obtain the examples? Can someone post a simple one?