而error:...discards qualifiers 的意思就是缺少限定符. 因此,他的解決辦法很簡單了,只要將checkElements()函數申明改爲 checkElements()const就行 ...
確定! 回上一頁