Re: initialize array within a class by a class member
- From: "Victor Bazarov" <v.Abazarov@xxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 00:54:20 -0500
greg wrote:
> When we initialze a month, we know the no of dates in that month, so
> base on that we can create a array of the right size for each date of
> the month. But how do I define it in the month class?
I don't know. What do you need those dates for? You explained nothing
about how your 'Month' class is going to be used, and the use or the
class is what defined the interface, and the interface is what defines
the inner layout.
V
.
- Follow-Ups:
- References:
- initialize array within a class by a class member
- From: greg
- Re: initialize array within a class by a class member
- From: Victor Bazarov
- Re: initialize array within a class by a class member
- From: greg
- initialize array within a class by a class member
- Prev by Date: Re: initialize array within a class by a class member
- Next by Date: Re: initialize array within a class by a class member
- Previous by thread: Re: initialize array within a class by a class member
- Next by thread: Re: initialize array within a class by a class member
- Index(es):
Relevant Pages
|
|