Hi,
Is this a valid while loop? :
while((grid[tr][tc]=='0'||grid[tr][tc]==s[i]) && tr<row && count<strlen(s))
{ ++count;
++tr;
}
Although the full program compiles fine, but sometimes my program crashes during runtime giving me a "Access violation(Segmentation Fault)" error and the debugger points to this loop statement... By the way, I'm using dev c++ ...
Regards,