cpp common functions

cpp common functions editor by http://dillinger.io/