Hello,
I'm hoping someone can explain this warning to me. I'm sure it's just something I'm not aware of!
Thanks!Code:if ((infile = fopen("/src/infile", "r")) == NULL) { printf("Couldn't Open File"); exit(1); } else { /*READ CHARS INTO THE MM STORAGE*/ char c; char d; do{ c = fgetc(infile); //printf("%c\n", c); if(c != '\n') { d = fgetc(infile); MM[I_COUNTER] = c; //<---Warning Here I_COUNTER++; MM[I_COUNTER] = d; //<---Warning Here I_COUNTER ++; } } while((c != 'D') && (d != 'A')); int k = 0; while(k < 4){ c = fgetc(infile); k++; } //RESET OUR INSTRUCTION COUNTER I_COUNTER = 0; STACK_POINTER = 240; }