Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Big(int n):b2(n),b3(2)

Posted by Selfind at 2007-05-07 21:14:56
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator