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.56 (95)2005-09-06
Validate Longitudinal Redundancy Checksum (LRC)Darko Kolaković C or C++ANSI3.17 (30)2005-09-06
Permutation GeneratorTreenef C++ANSI3.73 (157)2005-08-23
View the contents of a directoryfinnepower C++Windows3.70 (50)2005-08-06
Rectangle Collision DetectionDavid Nielsen C or C++ANSI3.34 (50)2005-05-30
Three ways to do a swapDavid Nielsen C or C++ANSI2.91 (160)2005-05-30
a simple clockrichmond caesar CANSI3.10 (187)2005-04-18
euler approximation methoderic mbakop C or C++ANSI2.74 (95)2005-04-16
Calculates the closest point to a segmentAdrián Deccico C or C++ANSI2.68 (62)2005-03-06
similar to gotoxy; minimal screen control for wyseMike Kinney C or C++ANSI2.87 (82)2005-02-22
This C code recursively sorts an array of upto 20Abhishek H.Dwivedi C or C++ANSI2.81 (109)2005-02-17
This C code uses the merge sort algorithm to sortAbhishek H.Dwivedi C or C++ANSI3.00 (229)2005-02-15
A game setup for DirectXPaul D C or C++ANSI3.16 (138)2005-02-14
GotoXYStack Overflow C*nix3.12 (189)2005-02-01
A function to reverse an integer arrayMajor_Small C or C++ANSI3.22 (195)2005-01-27
A function to encrypt/decrypt a string using XOR eMajor_Small C++ANSI3.31 (171)2005-01-27
Checking for powers of twoWebmaster C or C++ANSI3.28 (155)2005-01-26
Distanceprog-bman C++ANSI2.63 (104)2005-01-26
Template Calculatorprog-bman C++ANSI2.97 (164)2005-01-26
a short BubbleSort algoritm for Integer ArraysMajor_Small C or C++ANSI2.99 (120)2005-01-24
A code template for OpenGL / GLUTPerspective C or C++ANSI2.88 (113)2005-01-21
GetLastError error lookup toolKen Fitlike CWindows2.93 (101)2005-01-20
A very simple frames per second functionJeff Verkoeyen C or C++Windows2.76 (93)2005-01-20
Color header for Windows that integrates with coutSang-drax C++Windows3.17 (112)2005-01-20


Add a snippet!



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