2012年8月5日

C++运算符优先级,记录一下

摘要: C++ 运算符优先级列表http://www.cppreference.com/operator_precedence.htmlPrecedenceOperatorDescriptionExampleAssociativity1()[]->.::++--Grouping operatorArray accessMember access from a pointerMember access from an objectScoping operatorPost-incrementPost-decrement(a + b) / 4;array[4] = 2;ptr->age = 34 阅读全文

posted @ 2012-08-05 13:35 daemonh 阅读(185) 评论(0) 推荐(0)

导航