I need help rewriting the next line in a safer way and rewriting it as a function, however, the fact that this code is defined inside the function makes it difficult for me to think of a smart way to do this because it seems to be related to declaring a few arguments.
#define CHECK(id) if(table->cells[id]) isgood[table->cells[id]-1] = 0;
where table- struct, and isgood- int.
David tanner
source
share