[QUOTE]\nI am not asking *directly* about C; I am asking advice for an implementation IN C.[/QUOTE]\n\nSee the slippery slope?\n\nQuestions like "How can I do X in C?" are topical here (most\nlikely; the line is ill-defined and different cartographers draw\nit in different locations). But the questions you're now asking\nare "Help me understand X," and the responses you'll get (those\nyou have in fact been getting) have little to do with C -\- which\nsuggests that the questions aren't about C or how to apply C at\nall. Here's a useful test: Could you ask the same questions and\nget similar answers in a Fortran or Ada or Java forum? I think\nyou could -\- and that's why I think you're off-topic here.\n\nOnce you've settled on a design you might well find yourself\nconfronting C questions again -\- but at the moment, you're not.