Find   


An Affiliate of AIHorizon




Welcome to Cprogramming.com's programming code snippet repository. Peruse the archives or add your own snippets for others to use! (Check the following link a better definition of a snippet)

Sort by clicking on any of the headers.

SnippetAuthorLanguagePlatformRating (votes) Added
Converts a real number to the string.Darko Kolakoviћ C or C++ANSI2.7045 (132)2005-09-06
Validate Longitudinal Redundancy Checksum (LRC)Darko Kolaković C or C++ANSI3.2321 (56)2005-09-06
Permutation GeneratorTreenef C++ANSI3.7670 (206)2005-08-23
View the contents of a directoryfinnepower C++Windows3.7470 (83)2005-08-06
Rectangle Collision DetectionDavid Nielsen C or C++ANSI3.1154 (78)2005-05-30
Three ways to do a swapDavid Nielsen C or C++ANSI3.0553 (199)2005-05-30
a simple clockrichmond caesar CANSI3.1559 (263)2005-04-18
euler approximation methoderic mbakop C or C++ANSI2.8276 (145)2005-04-16
Calculates the closest point to a segmentAdrián Deccico C or C++ANSI2.8718 (78)2005-03-06
similar to gotoxy; minimal screen control for wyseMike Kinney C or C++ANSI2.8404 (94)2005-02-22
This C code recursively sorts an array of upto 20Abhishek H.Dwivedi C or C++ANSI2.8615 (130)2005-02-17
This C code uses the merge sort algorithm to sortAbhishek H.Dwivedi C or C++ANSI3.0701 (371)2005-02-15
A game setup for DirectXPaul D C or C++ANSI3.1258 (151)2005-02-14
GotoXYStack Overflow C*nix3.1614 (223)2005-02-01
A function to reverse an integer arrayMajor_Small C or C++ANSI3.2480 (254)2005-01-27
A function to encrypt/decrypt a string using XOR eMajor_Small C++ANSI3.3272 (217)2005-01-27
Checking for powers of twoWebmaster C or C++ANSI3.2821 (195)2005-01-26
Distanceprog-bman C++ANSI2.6752 (117)2005-01-26
Template Calculatorprog-bman C++ANSI3.0256 (195)2005-01-26
a short BubbleSort algoritm for Integer ArraysMajor_Small C or C++ANSI3.0458 (131)2005-01-24
A code template for OpenGL / GLUTPerspective C or C++ANSI2.8971 (136)2005-01-21
GetLastError error lookup toolKen Fitlike CWindows2.9512 (123)2005-01-20
A very simple frames per second functionJeff Verkoeyen C or C++Windows2.7845 (116)2005-01-20
Color header for Windows that integrates with coutSang-drax C++Windows3.1812 (138)2005-01-20


Add a snippet!




-----
Interested in advertising with us?
Please read our privacy policy.
Copyright © 1997-2005 Cprogramming.com. All rights reserved.