The Wayback Machine - https://web.archive.org/web/20100724060833/http://www.codeguru.com:80/cpp/w-d/doc_view/openfaq/

    Open FAQ

    [Updated] A Deterministic Method of Determining a Document's Modified State

    Determine when a document has been modified. In the particular case of word processors, most tend to have a "dirty" flag that is set when a user types. This article demonstrates a smarter "dirty" flag that uses probabilistic methods.