Main menu
Forums
C++ Tutorial
::Introduction
::Basics of C++ ::Control structures ::Compound Data Types ::C style functions in C++ ::Object Oriented Programming ::The Standard Template Library (STL) 
www.cpp4u.com > C++ Source Code > AlgorithmsAlgorithmsAlgorithmsSubcategories
SortingSorting algorithms Searching Searching Compiler Algorithms Compiler Algorithms Combinatorial Algorithms Combinatorial Algorithms Regular expressions Regular expressions Webpages ReHash  A consolebased hash calculator  http://www.codeproject.com/cpp/rehash.asp
A consolebased hash calculator. Supported algorithms: CRC16, CRC16CCITT, CRC32, FCS16, FCS32, GHash323, GHash325, GOSTHash, HAVAL5256, MD2, MD4, MD5, SHA1, SHA256, SHA384, SHA512, Tiger. Using PPMD for compression  http://www.codeproject.com/cpp/ppmd.asp
This article presents a class for using PPM to compress a file. Genetic and Ant Colony Optimization Algorithms  http://www.codeproject.com/cpp/GeneticandAntAlgorithms.asp
Genetic and Ant Colony Optimization Algorithms A Mersenne Twister Class  http://www.codeproject.com/cpp/mersennetwisterclass.asp
A pseudorandom number generator. CFraction  a double / fraction / string conversion class  http://www.codeproject.com/cpp/fraction.asp
A class that converts between doubles, strings and fractional representations. File Exist Algorithms  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=5186&lngWId=3
This function will check to see if a file exist in the computer if it doesnt it will return 1 else 0. Resize the array  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=8553&lngWId=3
resize the array in the class while the runtime Create and pass a 2D dynamic array  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=4770&lngWId=3
These program shows how to create and pass a 2D dynamic array to a function. It can be very useful for applications that you might create. PAGE REPLACEMENT ALGORITHMS (FIFO)  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=4986&lngWId=3
A representation of the First In First Out Algorithm in Page Replacement Algorithms A Alphabetic Diomond V 1.0  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=6539&lngWId=3
This is my first submission on PSC.My this Code Prints the Alphabetic Diamond.Look Output here, it is so easy. It will take a number input for no. of alphabets should be in Diamond.It is the Demonstration of for loop A Fraction Calculator  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3684&lngWId=3
This is just a simple Calculator that allows someone to +,,*,/ fractions. Was a class lab thought it might actually be useful to someone. A Faster Way to "MOD" and how to grab a digit from an Integer  http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=6567&lngWId=3
This program is to show how to get the last digit of an integer type without using "last_digit = num % 10" It also shows that "%" is slower than my optimized code due to "%" using division My optimized code is faster than using "%" about 90% of the time C++ Datastructures and Algorithms  http://www.mathtools.net/C_C__/Algorithms_and_Data_structures/index.html
An Introduction to Data Structures with C++  http://www.intelligentedu.com/blogs/post/Best_New_Training_Sites/303/AnIntroductiontoDataStructureswithC
C++ Datastructures  http://www.hermetic.ch/cfunlib.htm
C++ Algorithms  http://oopweb.com/Algorithms/Files/Algorithms.html
Computer science C++ programs and source code by James Pate Williams, Jr.  http://www.mindspring.com/~pate/
Queen Search algorithm for solving the nqueens algorithm, Morris' breakout algorithm, Dozier and Williams' breakout algorithms, Simulated annealing solution of the nqueens problem. Cenelia Gonzales C++ sources  http://www.aisearch.4t.com
Collection of algorithm source code includes. String Tokenizer, Fuzzy String Matching, Rational Number Class, Simple FSM, Equation Solver, Guessing Games. Vivek Patel C++ Sources  http://www.vivekpatel.cjb.net/
Data Structures(Arrays, Linked List, Stack) and Algorithm related sources. MTSHOME  http://www.mtshome.cjb.net/
Collection of sources C,C++ and other languages by Muhammad Tahir Shahzad. C++ sections includes.
Algortihms, Data Structures, Numerical Analysis and other topics. Solving NonLinear Equations  http://www.cpp4u.com/files/progdize2/NA_ALIRAZA.zip
C# Author ALI RAZA SHAIKH AVL Tree  http://www.cpp4u.com/files/progdize2/51.zip
C++ Author ALI RAZA SHAIKH
Huffman Coding (Encryption)  http://www.cpp4u.com/files/progdize2/52a.zip
Huffman Coding Encryption. Huffman coding is to use an encryption key to. shuffle the Huffman tree before the encoding.
C++ Author ALI RAZA SHAIKH
Gauss Jordon  http://www.cpp4u.com/files/progdize2/GaussJordan.zip
Solution of equation by GaussJordan C# Author FIDA HUSSAIN
Rational Number Class  http://www.cpp4u.com/files/ai/Rational_Numbers_Class1.zip
Class to represent valid rational numbers
Tower of Hanoi  http://cpp4u.com/files/MTS/Algorithms/ALGO05.zip
A C++ Program to solve the Towers of Hanoi Problem (using Recursive Algorithm). Author:Muhammad Tahir Shahzad
Fibonacci series  http://cpp4u.com/files/MTS/Algorithms/ALGO09.zip
A C++ Program to computes the n_th term of the fibonacci series using Dynamic Programming Technique. Author:Muhammad Tahir Shahzad
fibonacci series using Toplogical Odering  http://cpp4u.com/files/MTS/Algorithms/ALGO10.zip
A C++ Program to computes the n_th term of the fibonacci series using Toplogical Odering and Dynamic Programming Technique. Author:Muhammad Tahir Shahzad
Prim's Algorithm  http://cpp4u.com/files/MTS/Algorithms/ALGO11.zip
A C++ Program to implement the Prim's Algorithm to solve Minimum Spanning Tree Problem (MST). Author:Muhammad Tahir Shahzad
Prim's Algorithm with Graphics  http://cpp4u.com/files/MTS/Algorithms/ALGO12.zip
A C++ Program to implement the Prim's Algorithm to solve Minimum Spanning Tree Problem (MST) using Graphics. Author:Muhammad Tahir Shahzad
Prim's Algorithm  http://cpp4u.com/files/MTS/Algorithms/ALGO13.zip
A C++ Program to implement the Prim's Algorithm to solve Minimum Spanning Tree Problem (MST) using Graphics and with Mouse support. Author:Muhammad Tahir Shahzad
Kurskal's Algorithm  http://cpp4u.com/files/MTS/Algorithms/ALGO14.zip
A C++ Program to implement the Kurskal's Algorithm to solve Minimum Cost Spanning Tree Problem (MST). Author:Muhammad Tahir Shahzad
Kurskal's Algorithm  http://cpp4u.com/files/MTS/Algorithms/ALGO15.zip
A C++ Program to implement the Kurskal's Algorithm to solve Minimum Cost Spanning Tree Problem (MST) using Graphics. Author:Muhammad Tahir Shahzad
Kurskal's Algorithm with Graphics with Mouse Support  http://cpp4u.com/files/MTS/Algorithms/ALGO16.zip
A C++ Program to implement the Kurskal's Algorithm to solve Minimum Cost Spanning Tree Problem (MST) using Graphics with Mouse Support. Author:Muhammad Tahir Shahzad
Towers of Hanoi  http://cpp4u.com/files/MTS/datastructures/DS37.zip
"A C++ Program to solve the mystery of Towers of Hanoi.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Blitz++ a C++ class library  http://www.oonumerics.org/blitz/
Blitz++ is a C++ class library for scientific computing which provides performance on par with Fortran 77/90. It uses template techniques to achieve high performance. The current versions provide dense arrays and vectors, random number generators, and small vectors and matrices. 
Links
C++ creator
www.cplusplus.com www.cppreference.com www.cprogramming.com www.bloodshed.net gcc.gnu.org cplus.about.com Top Categories
