LeMoDa top page
Examples
Algorithms
Arrays
Basic guides
C
Cairo
CGI
Compression
Databases
Dates & times
Directories
Encodings
Excel
Files
Flex
FreeBSD
Image Magick
Images
Japanese language
JavaScript
Languages
Maths
Unresolved mysteries
No ads
Partial content
Perl
PNG
printf
Regular expressions
SQLite
stdarg
Strings
data structures
Unicode
Unix
UTF-8
Xlib
XS
X Window System
Setting a good example.
An example of array initialization in C
Length of array in C
Sort an array of strings in C
Binary search in C using bsearch
Pointers in C with examples
Converting Cairo output to PNG
Show the types of all the ASCII characters
Example of command-line arguments in C
Print today's date in C
Convert decimal to binary in C
A simple "die" function for C - example of variable number of arguments
Printf, doubles and decimal places
Example of a doubly-linked list in C
Generate a Fibonacci series in C
Find a substring of a string in C
C function pointer to function with varying number of arguments
Get the size of a file in C
Example of getopt in C
Read a compressed file with gzFile, gzopen, and gzread in C
An example of iconv
Example of C if statement
Compare strings ignoring case in C
An example of an inline qsort
Example of insertion sort in C
Algorithm to convert katakana to hiragana in UTF-8
Find the largest of n numbers in C
Calculate the Levenshtein edit distance in C
C macros __LINE__, __FILE__ and __func__
List the files in a Unix directory with C
Example program in C to detect palindromes
Set the modification time of a PNG
Create a PNG with text segments
An example of pointer arithmetic
Get a list of prime numbers in C
Print hexadecimal versions of numbers in C
Left-justify printf output
Example of quicksort in C
Example of random number generation in C
Read a whole file into memory in C
Recursively list directories in C
Make a reentrant parser with Flex and Bison
Program to reverse a string without using the string library
Example of a singly-linked list in C
SQLite C example: bind data
SQLite C example: insert data
SQLite C example: select data
Convert a string to a double in C
Convert a string to an integer in C
Strip leading and trailing space in C
An example of ualarm and setjmp
An example of using regular expressions in C
Write a PNG file using C and libpng
Xlib window which tells its own position and size
Responding to resize events with Xlib
A simple text window using Xlib
Responding to window deletion messages from the window manager
Open and read a gzip compressed file with zlib in C
An example of compressing with zlib in C
Compressing CGI output with Perl
Example of ptrace for FreeBSD
Convert X bitmaps (.xbm) to PNG - example of Pozkanzer tools
Showing the modified time of an HTML page using JavaScript
Visit all cells in an Excel worksheet
Print sizes of all images in a directory
IPC::Run3 for testing binaries
Get a hash value using XS
An example of using regular expressions in Perl XS
Copyright © Ben Bullock 2009-2012
. All rights reserved. For comments, questions, and corrections, please email
Ben Bullock
(
ben.bullock@lemoda.net
) /
Privacy
/
Disclaimer