![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Jan 2006
Posts: 58
Rep Power: 3
![]() |
pointer to array of a class
I want to make a pointer in one class that points to an array of another class.
Will this code //in classA private : classB *thePointerToClassB; make thePointerToClassB point at an array of classB without including []. If it does, can I simply do something like *thePointerToClass[idx] = something; |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|