Re: Array of arrays

2010-02-27 Thread Tristan Van Berkom
On Sat, Feb 27, 2010 at 9:50 PM, Brian Lavender wrote: > I guess the list stripped the attachments. The code is included in this > message. > Hi, First of all it would be helpful if you told us what is the problem with your code, off the bat I could tell you that the way you pass a pointer to

Re: Array of arrays

2010-02-27 Thread Brian Lavender
I guess the list stripped the attachments. The code is included in this message. brian On Sat, Feb 27, 2010 at 06:47:30PM -0800, Brian Lavender wrote: > I was experimenting with creating an array of arrays. Maybe I shouldn't > be using GArray but something different such as pointer arrays and > a

Array of arrays

2010-02-27 Thread Brian Lavender
I was experimenting with creating an array of arrays. Maybe I shouldn't be using GArray but something different such as pointer arrays and allocating memory for each element? I wrote two sample programs. The first one, just loads one array. The second, loads an array of arrays. I don't know if I