I have a 2 d array that I need to loop through and check for a specific value in each variable...
Im a little confiused on how to do this...
#include stdio.h
#include string.h
main ()
{ char arrary[3][3];
memset(array,' ',sizeof(array));
for ?????
{ if ( array == ' ' )
{ do something...
}
}
}
Im not a C guy.. I generally use bash/perl and I would use a foreach/ or for loop for to do this. any help would be appreciated.