The dereference (*) operator has lower priority than the member (.) operator so you need to add brackets: (*str).length().
確定! 回上一頁