c + + programming scheme