|
 |
|
|
Submitted: March 2, 2005
Views: 15286
This code shows you how to access private data members in classes without using the friend keyword.
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 2606
Converts a Number from any base to any base using PERL.
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 12295
Performs Breadth First Search on a Graph stored as an Adjacency Matrix.
|
|
|
 |
|
|
Submitted: July 10, 2008
Views: 1573
This snippet centers the text on the console screen.
|
|
|
 |
|
|
Submitted: December 15, 2005
Views: 2461
THIS IS A ORACLE STATEMENT AND NOT MYSQL.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 12340
This Class Implements Fractions using various Functions.
|
|
|
 |
|
|
Submitted: October 14, 2007
Views: 1190
This Block of Code clears the Screen of the Console.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 35650
This class Implements Complex Numbers and it's Functions.
|
|
|
 |
|
|
Submitted: September 21, 2006
Views: 10375
Simple Assembly Code Snippet that can convert a Decimal Number into Binary using the AND instruction.
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 2698
A Simple Indian Rupee denomination Program in Perl.
|
|
|
 |
|
|
Submitted: October 5, 2005
Views: 13346
Converts Strings in format "DD MONTH YYYY" to Oracle Date Format.
For eg.
StrToDate("16 November 2005") returns "16-NOV-2005"
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 27069
Converts a Decimal Number into Hexadecimal through the Command Line without using the (s)printf function conversion.
|
|
|
 |
|
|
Submitted: October 10, 2007
Views: 2546
This function removes extra spaces between a string.
|
|
|
 |
|
|
Submitted: March 20, 2007
Views: 1510
This Code Snippet shows how a given set of characters can be deleted from a string.
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 5610
Implements Depth First Search on a Graph stored as an Adjacency Matrix
|
|
|
 |
|
|
Submitted: March 12, 2005
Views: 11720
Detect and Abort Windows Shutdown using VB.
|
|
|
 |
|
|
Submitted: January 10, 2006
Views: 5772
Demonstrates Derivative of a User Defined Function using First Principle.
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 8302
Implements Dijkstra's Algorithm
|
|
|
 |
|
|
Submitted: October 26, 2005
Views: 22341
A recursive directory tree traversal that finds the path and names for all files in the specified path.
Written by Glen E. Gardner, Jr
|
|
|
 |
|
|
Submitted: March 21, 2008
Views: 1307
Download any file from the Internet on your Computer.
|
|
|
 |
|
|
Submitted: March 5, 2005
Views: 8849
If all you want to do is write a String Value to the Registry then use this method instead of using the API.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 4482
Written by: Raevski Maxim
This code converts a EXE File written in TASM without the /t Switch into a COM File
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 1834
Address 0x413h gives the size of base memory. It is stored in 2 bytes.
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 7307
This recursive function can find factors of a number.
|
|
|
 |
|
|
Submitted: October 29, 2005
Views: 20905
Finds the GCD/HCF of a number using Euclid's Recursive Algorithm.
|
|
|
 |
|
|
Submitted: September 3, 2005
Views: 4463
BASED ON A MATHEMATICAL THEOREM:
Theorem:
Any Number can be represented in a PRIME-POWER form.
For Example, 100! can be written as follows:
100! = 2^a * 3^b * 5^c * 7^d .....(prime numbers till 100)
where a,b,c,d etc. are variable powers.
Since a Trailing ZERO can be created only by a 2 and 5 (2 * 5=10)
we calculate the powers of 2 and 5.
Since 2 can be obtained by a lot more other ways: 2,4,6,8 we always
end up with a lot of values. Since 5 is unique and cannot be created
we just calculate the power of 5 using the Formula:
nEp = n/(p^1) + n/(p^2) + n/(p^3) + ... as long as p^x is
|
|
|
 |
|
|
Submitted: October 29, 2005
Views: 13929
This code finds n prime palindromes after a specified number.
[n too can be specified]
|
|
|
 |
|
|
Submitted: October 29, 2005
Views: 4500
IM NOT THE ORIGINAL AUTHOR [AND I FORGOT THE AUTHORS NAME..damn]
This program finds square roots of numbers with upto 250 places of precision.
|
|
|
 |
|
|
Submitted: August 20, 2005
Views: 53748
This code shows how to find out the square root of a number without using the sqrt() function. The result obtained by both functions are the same and hence can also be used as an alternative sqrt() function.
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 3962
This recursive function prints numbers in ascending order.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 72588
Getting the current directory. TAKEN FROM BORLAND C++ HELP
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 2955
Gets Host Header Information using PERL.
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 3406
Implements Heap Sort
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 3257
Performs Indexed Sequential Search on a Sorted Array to retrieve location of item faster than sequential search.
|
|
|
 |
|
|
Submitted: October 29, 2005
Views: 62638
Simply demonstrates how Insertion Sort works.
|
|
|
 |
|
|
Submitted: January 17, 2006
Views: 6557
Solves Definite Integral of any function as well as calculates area under the curve using LIMIT of SUMS Rule.
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 1215
Implements the Interpolation Search technique.
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 2776
Detects if the program is being run under a Debugger.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 100399
Implements the Linked List Data Structure.
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 3783
This multiply recursive function uses a recursive add function to get the product of two numbers.
|
|
|
 |
|
|
Submitted: March 5, 2005
Views: 22575
Shows a Simple way to Open and Close your CD-Drive.
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 19861
ORIGINALLY WRITTEN BY Sani, A. I.
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 8225
This recursive function prints numbers in ascending and descending order
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 3507
This recursive function prints numbers in descending order.
|
|
|
 |
|
|
Submitted: December 23, 2006
Views: 959
Demonstrates how we can save coding time, improve speed and reduce size of a program by using a single byte instruction that does the job.
|
|
|
 |
|
|
Submitted: December 23, 2006
Views: 938
This Code Snippet Demonstrates how to improve speed and reduce program size by using an alternate form of the "add esp , xx" instruction
|
|
|
 |
|
|
Submitted: June 10, 2008
Views: 7084
Implements Radix Sort
|
|
|
 |
|
|
Submitted: October 26, 2005
Views: 10142
A random Number generator list.This script will generate a list of random numbers that are not repeated in the list. Very useful in generating lotto numbers or anything else that you can not have repetitive numbers.
ORIGINAL AUTHOR UNKNOWN.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 4314
Written by Giampiero Caprino and modified by Me...This is the Main Disassembling code.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 67524
This code shows how to generate a Fibonacci Sequence using Recursion.
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 1428
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 6187
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 4956
Removes the Name of the Program from the Task Manager.
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 3413
Shows how multiple values can be returned by the use of pointers.
|
|
|
 |
|
|
Submitted: January 8, 2006
Views: 6292
Demonstrates Selection Sort using Recursion.
|
|
|
 |
|
|
Submitted: October 29, 2005
Views: 15499
Shows how an array can be sorted using Shell Sort algorithm.
|
|
|
 |
|
|
Submitted: December 27, 2005
Views: 59025
Shows how a string can be reversed using Recursion.
|
|
|
 |
|
|
Submitted: March 5, 2005
Views: 56418
Shows how to Shutdown,LogOff and Force Shutdown using VB
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 1736
Checks an equation and just specifies whether it's a digit or a mathematical operator.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 22865
Shows Very Very Simple Encryption.
|
|
|
 |
|
|
Submitted: October 26, 2005
Views: 1763
This code lists all the MP3's as links in HTML format.
ORIGINAL AUTHOR IS UNKNOWN.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 17170
Another alternative function to sleep()
|
|
|
 |
|
|
Submitted: February 26, 2005
Views: 13079
Solves a Quadratic Equation using Factorisation. It Displays the solution one line at a time.
( I used to use it to complete my math homework )
|
|
|
 |
|
|
Submitted: July 29, 2006
Views: 14895
Original Author Unknown
|
|
|
 |
|
|
Submitted: October 29, 2005
Views: 3436
Shows how an array can be sorted recursively using the Stooge Sort Algorithm.
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 20075
isual Basic provides only the Number Format Option in DataFormat Property of a Text Box. Using the "Number" option allows people to type negative numbers and numbers with decimals.So here is the code that you should insert in the Text Box's KeyPress Function so that the text-box will accept only phone-numbers.
|
|
|
 |
|
|
Submitted: October 26, 2005
Views: 2492
Saves the IP of the User as well as his localtime when a page is accessed.
ORIGINAL AUTHOR UNKNOWN.
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 18921
This code creates and Extracts ZIP Files.
ORIGINALLY WRITTEN BY: Wraithnix
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 2732
Uses the in-built Windows 98 Undocumented API to retrieve Cache Passwords.
DONT USE THIS CODE FOR ILLEGAL PURPOSES!!!
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 4312
Whenever anyone presses a key on the keyboard, the pressed character is stored in Address 0x41E and then processed. The list from 0x41E contains a Head and Tail pointer as shown in the code. The Last 32 Bytes are stored from 0x41E. This code displays the memory addresses to show the keypress values stored. Pressing q will close the Application. Compile with Turbo C/C++
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 6233
Display's System Uptime
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 9372
Basic WildCard Search Implementation written by Jack Handy
|
|
|
 |
|
|
Submitted: March 16, 2005
Views: 16683
Disables and Enables the Task Manager in Windows XP Professional Edition.
|
|