In article <clcm-20080401-0002@[EMAIL PROTECTED]
>,
David Given <dg@[EMAIL PROTECTED]
> wrote:
> Okay, I've been staring at this for hours now, and I've no idea what's
> going wrong. I'm pretty sure I'm doing everything right --- everything
> here is pretty straightforward C89, and the algorithms are dead simple,
> but it simply hangs solid using all the CPU about half-way through. It's
> not just slow --- I've let it run for a while and nothing whatsoever
> happens. Any suggestions?
I'm not sure but I bet it has something to do with nasal demons. Either
that or focus.target never gets changed.
> (I should probably get my CPU fan looked at, too. It got awfully hot
> during that long run. I'm sure I can smell something burning...)
A-HA!
> /* The pentacle nodes are circularly linked in both directions to form
> * a binding perimeter. In addition, they are singly linked to form a
> * classic 'daemon trap' five-pointed star. Each node points towards the
> * evocation focus (but not the other way around!) to enforce the
> * geometry we want. The design is based heavily on the Pentagram of
> * Solomon. */
>
> focus_t focus;
> node_t node1, node2, node3, node4, node5;
> node_t* nodes[5] = { &node1, &node2, &node3, &node4, &node5 };
>
> node_t node1 = { "TE", &focus, &node2, &node5, &node3, "BELLONY" };
> node_t node2 = { "TRA", &focus, &node3, &node1, &node4, "HALLIY" };
> node_t node3 = { "GRAM", &focus, &node4, &node2, &node5, "HALLIZA" };
> node_t node4 = { "MA", &focus, &node5, &node3, &node1, "ABDIA" };
> node_t node5 = { "TON", &focus, &node1, &node4, &node2, "BALLATON" };
> focus_t center = { "SOLUZEN", 0 };
>
> /* Name of spirit to summon --- rot13'd for safety.
> * (#65 from Crowley's translation of SHEMHAMPHORASH.) */
[snip]
Thanks --
David
(Remove "xx" to reply.)
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.


|