Avatar of jamied66
jamied66

asked on 

Searching for a single value in a file - C++

I have a log file that is nothing except a list of datestamps (yyyy-mm-dd) that is appended when an sftp action is called nightly and completed successfully.

I have a condition where I need to check to see if a date exists in that file (i.e. was the upload last Tuesday done).  So I'm searching for the absence of a value in a file, and I'm totally stumped.

This is being written in Dev C++ as a windows console app.

Any help is appreciated.

Thanks.
Editors IDEsCC++

Avatar of undefined
Last Comment
evilrix

8/22/2022 - Mon