Class Arrays in Visual C++ .NET 2003

Started by
11 comments, last by Dave Hunt 18 years ago
In the class header:
MyStarFighterBullet* bullets[];


In your constructor:
bullets = new MyStarFighterBullet * [5];


That should take care of it.

Advertisement
Blah, can't believe I didn't see that. Thanks for your time, that got it to work, now just to get it to move right. Thanks again.
No problem. Good luck with the rest of your project.

This topic is closed to new replies.

Advertisement