|
From: <jp...@bo...> - 2003-07-05 19:34:41
|
Never mind... I've found it on the net. It can be also used to=20
initialize contained objetcts of a class... Is that right?
Juliano
Juliano P=E1vel Brasil Cust=F3dio wrote:
> Recently I decided to start learning C++ again. When I was taking a=20
> look at VC++, I've found a piece of code that I have no idea of what=20
> it does:
>
> aView::aView() : m_rectEllipse(0,0,2000,-1000){...}
>
> My doubt is at the single ":" operator. I thought it was used just=20
> when I'd like to invoke the constructor of a base class through a=20
> derived class. But in this case, in the part of the code I've ommited=20
> here, m_rectEllipse is a CRect object, member of the aView class. Is=20
> there another way to use the ":" operator that I missed?
>
> Juliano
>
>
--=20
Visite minha p=E1gina: http://www.jpavel.kit.net
|