My program reads a .txt file.
I want to check when the program detects a new line in a file. If the file is empty i, it assigns the word "Stable" to a string, if it detects a new line, the programs assign the word "Fail" to the string.
I know how to read a line in a file, but just because the program is almost stable all the time, I don't want to write that word in to the file all the time. So when the other program writes to the file is because there is a problem.
am I clear?
Thanks a lot
Daniel