Levenshtein distance is a measure of the dissimilarity between two strings. The distance is the number of insertions, deletions, or substitutions required to transform a given string into the target string.
Tag Archive: C
Dec 26
How to make a keylogger with Visual C++
Intercepting keystrokes Hooking Key Events There are different ways to catch the keys as they are being typed, but one of the most efficient is to monitor system events for key events. This is done with a hook, which forces Windows to call your own functions when a certain type of event happens. First, let’s …
Dec 20
Mouse Programming in Turbo C++
Mouse can be used in text mode as well as in graphics mode. Usually it is used in graphics mode. Hence we must first change over to graphics mode. In our program the function initgraph() is responsible for switching the mode from text to graphics. DETECT is a macro defined in ‘graphics.h’. It requests initgraph() …
Aug 21
Win32 Multithreading and Synchronization
Introduction: This tutorial will explain how to create and manage multiple threads in Windows. This is an advanced tutorial; the reader should be familiar with Win32 programming. The need for responsive user-centric programs is a good reason to create programs that use multiple threads. By creating multiple threads, a program can seem to do many …
Aug 19
QuickSort algorithm, code for Java, C++
Quicksort is a fast sorting algorithm, which is used not only for educational purposes, but widely applied in practice. On the average, it has O(n log n) complexity, making quicksort suitable for sorting big data volumes. The idea of the algorithm is quite simple and once you realize it, you can write quicksort as fast …
Jul 20


