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.7155 (116)2005-09-06
Validate Longitudinal Redundancy Checksum (LRC)Darko Kolaković C or C++ANSI3.3556 (45)2005-09-06
Permutation GeneratorTreenef C++ANSI3.8135 (193)2005-08-23
View the contents of a directoryfinnepower C++Windows3.7846 (65)2005-08-06
Rectangle Collision DetectionDavid Nielsen C or C++ANSI3.2254 (71)2005-05-30
Three ways to do a swapDavid Nielsen C or C++ANSI3.0215 (186)2005-05-30
a simple clockrichmond caesar CANSI3.1464 (239)2005-04-18
euler approximation methoderic mbakop C or C++ANSI2.7480 (123)2005-04-16
Calculates the closest point to a segmentAdrián Deccico C or C++ANSI2.8333 (72)2005-03-06
similar to gotoxy; minimal screen control for wyseMike Kinney C or C++ANSI2.8889 (90)2005-02-22
This C code recursively sorts an array of upto 20Abhishek H.Dwivedi C or C++ANSI2.8512 (121)2005-02-17
This C code uses the merge sort algorithm to sortAbhishek H.Dwivedi C or C++ANSI3.0258 (310)2005-02-15
A game setup for DirectXPaul D C or C++ANSI3.1429 (147)2005-02-14
GotoXYStack Overflow C*nix3.1659 (217)2005-02-01
A function to reverse an integer arrayMajor_Small C or C++ANSI3.2009 (219)2005-01-27
A function to encrypt/decrypt a string using XOR eMajor_Small C++ANSI3.3485 (198)2005-01-27
Checking for powers of twoWebmaster C or C++ANSI3.2722 (180)2005-01-26
Distanceprog-bman C++ANSI2.6757 (111)2005-01-26
Template Calculatorprog-bman C++ANSI3.0000 (183)2005-01-26
a short BubbleSort algoritm for Integer ArraysMajor_Small C or C++ANSI3.0000 (123)2005-01-24
A code template for OpenGL / GLUTPerspective C or C++ANSI2.8898 (127)2005-01-21
GetLastError error lookup toolKen Fitlike CWindows2.9266 (109)2005-01-20
A very simple frames per second functionJeff Verkoeyen C or C++Windows2.7619 (105)2005-01-20
Color header for Windows that integrates with coutSang-drax C++Windows3.1694 (124)2005-01-20


Add a snippet!



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