BenZillaTheSecond wrote:
Ok Smiley But I only want to compare a single char

// streamlined further
while((c = fgetc(file)) != EOF)
{
  // check for terminator and check whats in the cell
  if(c == ',')
     print("hi");
}