Hi again now that I am using long long (8 bytes), malloc accepts only size_t, and it is defined in my machine as 4 bytes. Is there any way I can allocate in one statement any more? I appreciate your help a lot? thanks, Manal 2008/6/26 Manal Helal <manalorama@xxxxxxxxx>: > Hi John > > I am trying to create a hyper-cube, multidimensional array, I won't > create all the elements of the array, but I need a flat index (the > product of the upper bound at each dimension), to index each cell in > the created partitions, and this is what will grow exponentially, the > flat index value only, > > I usually use typedef to create my type of a standard type. How can I > use it to create bigger types than the standard? how do I check the > maximum allowed in the machine I am using? > > Thank you very much again, > > Manal > > 2008/6/25 John Love-Jensen <eljay@xxxxxxxxx>: >> Hi Manal, >> >>> Is there any other types bigger then 'long long"? >> >> Yes, you can make your own types that are as big as you want, up to the >> limits of your platform. >> >> Whether or not to do so depends.... What do you need a bigger type for? >> >> HTH, >> --Eljay >> >> > > > > -- > Kind Regards, > > Manal Helal > -- Kind Regards, Manal Helal