更新时间:2018-11-22 15:52作者:三水老师
8.What are the major differences between static and non-static member f
unctions?
9.How do you call a regular member function from a static member functi
on?
Please use psendo-code to provide your answer
10.How do you declare/define a type of pointer to a class member functi
on?
Please use psendo-code to provide your answer
11.Please explain the following tyoes:
Here is a short lise of combinations and their meanings:
1.Reference-Can change the referenced object
2.Const-Reference
3.Const-Pointer-
4.Pointer-Const-
5.Const-Pointer-Const-
CFoo Instance
CFoo &ReferenceToInstance=Instance; //1
const CFoo &ConstReferenceToInstance=Instance; //2
const CFoo *pConstPointer=&Instance; //3
CFoo *const pPointerConst=&Instance; //4
const CF00 *const pPointerConst=&Instance; //5
12.What are top-down and bottom-up approach?How do you usually use them