Sluggish

Apr 27, 2006 09:49

I love days like today. Dark grey clouds, constant rain, a little breeze maybe. But man, I'm really feeling sluggish today. Not sure if I've just not gotten enough sleep the last couple of days, but a nap sounds really enticing now ( Read more... )

Leave a comment

Comments 5

damndirtycrane April 27 2006, 15:14:19 UTC
So what's a function pointer?

Reply

thud_stonehead May 4 2006, 20:03:54 UTC
Its a programming technique that's used to pass the memory location of a function to another function as an argument. Hrm, that's not very helpful, I imagine.

Quicksort is a function that takes two arguments: a linked list, LList, and a function which can compare two elements in the linked list, cmp.

Function pointers allow me to write the generic Qsort function, by passing a different cmp function based on what's in the list.

Reply

damndirtycrane May 4 2006, 20:52:12 UTC
I take it that this is something used in databases, both for acessing and managing?

Reply


ceejishi April 28 2006, 00:16:42 UTC
I don't know what a function pointer is.

Reply

godeater_sw April 29 2006, 21:05:16 UTC
Nor me.

Reply


Leave a comment

Up