Welcome To Snipplr


Everyone's Recent C Snippets



« Prev 1 2 3
These are the basic commands to use Mutex Threads in C
0 3116 posted 9 years ago by msicode
Código final de la asignatura Microprocesadores y Microcontroladores de Tecnun - Universidad de Navarra (España). Curso 2013-2014. 3º Ingeniería en Sistemas de Telecomunicación.
0 3329 posted 11 years ago by eiger_824
Source creating a new database (and inserting some records)
0 3224 posted 11 years ago by ktrout
This script finds out ALSA devices in Linux programatically, which can be a bit tricky.
0 2904 posted 11 years ago by Makistos
This code will print out all sysfs devices under a certain device class (which is supplied as a parameter).
0 3491 posted 11 years ago by Makistos
0 2933 posted 12 years ago by iHaz3-Dev
is not Code, is configuration steps for use COMPAQ DC 7900 for virtualization machines in 64 Bits
0 3344 posted 13 years ago by xavieraviles
0 3326 posted 13 years ago by mlecho
This piece of code will read a hex argument such as: ff or ab from your command line and stores it as a integer
0 4717 posted 13 years ago by vdevos
0 3020 posted 13 years ago by inky76
Body Mass Index Solver
0 3147 posted 13 years ago by oslinux23
Two versions of binary search -- one recursive, one iterative -- for an array of strings. Both assume that your array index fits within an integer.
0 1399 posted 13 years ago by rtperson
Its Dijkstra's Shortest Path algorithm written in C. Reads from a file the nodes and the connected edges and implements Dijkstra's algorithm. I am uploading for your comments in my code. Thank you. <p>Files content should be in the format: n N...
0 3370 posted 13 years ago by stakisko
0 2900 posted 14 years ago by FArcellier
This snippet will send an HTTP POST from an Arduino using the WiFly library. The library is in early alpha, and is a port from the ethernet shield library. The code here should work with either. The critical part is the size of the data to send, a...
0 3354 posted 14 years ago by parkerkrhoyt
0 1247 posted 14 years ago by the_coder
The General Hash Functions Library has the following mix of additive and rotative general purpose string hashing algorithms. * RS Hash Function A simple hash function from Robert Sedgwicks Algorithms in C book. I've added some simple optimization...
0 4097 posted 14 years ago by davince
Check that a given integer consists only of elements of a given set. It does a linear search through the set, so the assumption is that the set to search is relatively small. If you're chewing through a particularly large set of digits, you may want...
0 3086 posted 14 years ago by rtperson
Simple File Splitter. No JOINER YET!
0 2963 posted 14 years ago by Myrddin
Redirects to reduce duplicate content
0 2983 posted 14 years ago by CKOink
Blocks bad bots, and image theft, allows visitors inside domains.
0 3028 posted 14 years ago by CKOink
0 2996 posted 14 years ago by imprfikt
A implementation for itoa with c. itoa is function that convert a integer to a string.
0 3297 posted 14 years ago by vikiyou
« Prev 1 2 3