| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Big(int n):b2(n),b3(2)class Big{
private:
int n;
base1 b1;
base2 b2,b3;
public:
Big(int n):b2(n),b3(2)
{ ...
}
};
Big(int n):b2(n),b3(2)
是什么意思?是不是说构造函数Big(int n)要用到b2(n),b3(2),这两个是不是像n,n一样作为形参?
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator