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.
Latest Editors Articles
EditPad - Syntax Highlighting Editor
Syntax coloring text editor
Enhancements to Andrei Stcherbatchenko's Syntax coloring text editor
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn how to change your screen's wallpaper, screensaver, and its settings as well as change your screen's resolution.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!