void search(){
wrdcounter = 0;
for (int counter = 0; counter < height; counter++){
for (int cntr = 0; cntr < width; cntr++){
thispoint = ((counter-1)*height)+(cntr);
///it breaks here if (wfield[counter][cntr] == word[wrdcounter]){
when I get to the last line of this code snippet, my program says that it is an access violation, and breaks the execution, why does it do this.
any help would be appreciated,
Brett

New Topic/Question
Reply




MultiQuote




|