I will ask you a question instead of answering....
What would you have done if you wanted to distinguish a function from other
functions that does the initialing? 
You would come up with some special feature which will tell you that the
function is initializer function.
Same way "Bjarne Stroustrop" came up with this idea. There is no very
technical explanation for this. 

Thanks,
Nir.

 
-------Original Message-------
 
From: manna309
Date: 10/10/08 12:42:18
To: [email protected]
Subject: [c-prog] (unknown)
 
why construtor's name is same as class name?


 
 

[Non-text portions of this message have been removed]

Reply via email to