added first c++ examples
allow the elementName to be overwritten