I\'m trying to get the fgetc command working in a very simple for loop. While (pun intended) it works in a while loop it doesn\'t work in a for loop and I can\'t figure why.