ohhh ok i get it now
it was pretty weird there for a second
thanks a lot helpers !!!
Type: Posts; User: dogger
ohhh ok i get it now
it was pretty weird there for a second
thanks a lot helpers !!!
i have this function that i need to build
int isIn(char *name1, char *name2)
{
char *bufferbig;
fgets(bufferbig,256,name1);
}
oh i c , thanks a lot
it really cleared some issues for me
yea i forgot to say it was a square
ok it works now thanks a lot
can you just explain a little about what you did there ?
is it like an array of pointers ?
yea ok but my function signature is
int checkMat(int**mat , int rows)
so i can't do
checkMat(arr)
ok i read it i understand why it doesn't work , so i tried to make a pointer to point to the 2d array like so:
int arr[2][2]={{4,6},{3,6}};
int **p ;
**p[2]=&arr[0][0];
i tried other...
so i have to send it a 2d array pointer ? i can't send the array like in regulars arrays ?
i had to write this func. on an assignment
int checkMat(int**mat , int rows)
{
int i,j;
int sum=0; // will be the sum of the first - the sum of the second if sum=0 then they're equal...