If I was to read file line by line, I would use say fopen and fgets, correct? What functions could i use to remove the lines starting with comments and i take it i would use the delimeter of a newline as a stopping condition?

Once i use ":" as my delimiter, i would then match that with my label name using strcmp.. ? If there is a match, how do i store the value i want? i am uncertain how to iterate through the string. Do you have any materials, links or examples i could refer to? I have not perfected my strings manipulations yet so any help you could offer would be greatly appreciated. Thanks.