Re: function for allocating memory for string array

2006-11-17 Thread Gabriel Genellina
At Friday 17/11/2006 11:14, Sheldon wrote: Can someone tell me how to remove the conflicts here ? Wrong group! Anyway, there is no need to reinvent the wheel, there are many array libraries for C... -- Gabriel Genellina Softlab SRL __ Corr

Re: function for allocating memory for string array

2006-11-17 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Sheldon wrote: > Can someone tell me how to remove the conflicts here ? What do you mean by conflicts? I see a bunch of undeclared functions here. Just look at the compiler messages and fix the problems one by one. > #include Here is missing a ``.h`` suffix. > static

function for allocating memory for string array

2006-11-17 Thread Sheldon
Hi, Can someone tell me how to remove the conflicts here ? #include static char*** Memory2DStr(int R, int C); static void MemoryFreeStr(int C, char*** array); void main() { unsigned char ***arr_scenes=NULL; int R = 15; int C = 15; arr_scenes = Memory2DStr(nscenes,2); MemoryFreeStr(2,arr_scenes