kblin.org
-
the personal ramblings of
Kai Blin
Code
hosted here
Projects
things I do
Talks
slides & materials
Imprint
and the legalese
C array
Git/
Gsoc/
Gsoc counter
Webacorn/
Kai's Development Blog
2013-07-05 10:40
Running a Stage Prop Using a BeagleBone Black
2013-03-21 08:34
Model vs. Reality
2012-05-14 18:07
Playing with POSIX pipes in Python
2012-03-31 02:04
Samba4 DNS sprint, day 5 summary
2012-03-30 01:28
Samba DNS sprint, day 4 summary.
2012-03-29 08:04
Samba DNS sprint, day 3 summary
Home
Code
C_array
C array tricks
Assuming you have an array
int values[ARRAY_SIZE];
containing unsorted int values, and an array of
int *pointers[ARRAY_SIZE];
Have the pointer array point at the elements of the value array in ascending value order.