Popular source snippets
-
» WINDOWS SHUTDOWN FROM .NET
Category: C#
Visits: 958
- Code to shutdown windows from a .NET application.
-
» WINDOWS CONSOLE OUTPUT
Category: C
Visits: 950
- Demonstrates using the Win32 console API to manipulate console output.
-
» FACTORIAL NUMBERS
Category: C#
Visits: 933
- A simple C# program showing you how easy it is to create a basic Windows GUI program which will display the results of a factorial number calculator.
-
» SHA-1
Category: ActionScript
Visits: 922
- SHA-1 the Secure Hash Algorithm (SHA) was developed by NIST and is specified in the Secure Hash Standard (SHS, FIPS 180).
This script is used to process variable length message into a fixed-length output...
-
» AN ARRAY CAN USE STL FUNCTIONS
Category: C++
Visits: 860
- Some of the functions (algorithms) used by STL containers can be applied to a normal array to do things like copying, displaying, finding max/min, reversing, replacing, searching, shuffling, sorting,...
-
» USING ACTION DELEGATE WITH LIST.FOREACH
Category: C#
Visits: 854
- Instead of iterating through a collection with foreach, define an action delegate and supply it as an argument to List.ForEach. We could also use this for Array.ForEach.
-
» COMPRESS/DECOMPRESS BYTE ARRAY
Category: C#
Visits: 852
- How to compress and decompress byte array
-
» DYNAMIC IMAGE CLASS
Category: C#
Visits: 847
- This class is used to generate a dynamic bar with different colors
-
» ACCENTED CHARACTERS
Category: Python
Visits: 796
- [A-Z] just isn't good enough! This snippet shows how to use accented characters.
-
» VALIDATION USING ERRORPROVIDER
Category: C#
Visits: 790
- Validating the input on a textbox using the errorprovider.