cpp cin/cout test