Array of class and a pointer to it
- From: "Eitan" <Eitan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 May 2005 17:13:03 -0700
Hello,
I defined a class name MyClass.
I would like to define an array of 4 by 8 of that class.
I would like to define a pointer to the array of MyClass.
I tried it with static definition:
MyClass m_MyClass[4][8] ;
I can not seem to find the way to define a pointer to this array?!?!?
I tried also to define it with the new operator but had similar results.
Any ideas how to do it?
Eitan
.
- Follow-Ups:
- RE: Array of class and a pointer to it
- From: Eitan
- Re: Array of class and a pointer to it
- From: Brian Muth
- Re: Array of class and a pointer to it
- From: Boni
- RE: Array of class and a pointer to it
- Prev by Date: Re: Is there equivalent of sscanf function in .NET?
- Next by Date: Re: Books on C++/CLI
- Previous by thread: Is there equivalent of sscanf function in .NET?
- Next by thread: Re: Array of class and a pointer to it
- Index(es):
Relevant Pages
|