On 3/6/2010 3:08 PM, Jimmy Johnson wrote: > I was able to find some help on allocating 2-d array. However, the example > allocated a 2d array of ints. For someone who is not familiar with C/C++ > pointers I can't tell the difference between the pointers, pointers to array > of itegers, and the integer items. >
Did you try looking here? http://c-faq.com/aryptr/dynmuldimary.html As far as dealing with C++ objects there are two ways to do this. You can create the objects, and if they have a default constructor you want to use, it is pretty similar to using primitives. If you want to use a specific constructor, I don't know off the top of my head. I very rarely use arrays, instead I prefer to use container types such as linked lists, vectors, etc. -- John Gaughan http://www.johngaughan.net/
