一个有用的技巧是为带句点的词干赋值,这个值将成为基于这个词干的复合名字的默认值。
One useful trick is to set a value for the dotted stem, which then ACTS as a default value for compound names based on the stem.
我要把p1赋值为1,这个操作有什么用呢?,这个操作把p1这个名字的,指针的值改变让它。
p2 It's taking the name p 1 and it's changing its value to point to exactly what p 2 points to.
给一个变量成员赋值也不是那么乏味的工作了,当你发现你不需要打全变量名字的时候!
Assigning various members off an instance isn't so tedious anymore, when you don't have to keep typing out the instance name! (see below)!
应用推荐