Aha!!, but i only need 1 object
Type: Posts; User: Takyon
Aha!!, but i only need 1 object
Yes , i havenīt the segmentation problem now!
but how can i know if all the mem is free??
casting void * isnīt silly , are old manners
But i have a global variable, i am doing a library for general proposes. Why i canīt use a global variable??
I have the same code for 2D nodes matrix , i use a global variable, not static, and...
Ok , i have read the FAQ, seems that is no problem casting malloc if i use stdlib.h, and i am using it.
Please, can u read my message another time?
I say that the function works fine, the mem is allocating rightly, the problem is using the freeing function. the malloc don't give me problems, i can...
HI! i have designed a function to allocate a 3d matrix elements.
the function is:
/* mem_node_matrix_3D {{{ */
Node3D ***mem_node_matrix_3D(int m ,int n, int l )
{
int i,j,k;
int...