demos for learning cpp