I'm new to C and have a question. I have a master time clock, with the attached C programm running, that controls bells on a shop floor for purposes of employee start time, lunch break and end of day. I have hardcoded the time values in my C program and want to convert them to an external file to be read in to the program. This program is a continuous loop which monitors the time on the clock and when there is a match of any hardcoded value, it triggers a relay and sounds the shop bells. I have seen many examples of how to read an external file but not sure how read a file in a loop program. Do I read the file one record at a time or all records at one time? Not sure. I would appreciate any help or examples.