Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: Program han...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 1072 of 1134
Post > Topic >>

Re: Program hangs with no output

by dwolffxx@[EMAIL PROTECTED] (David Wolff) Apr 4, 2008 at 10:35 AM

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.
 




 7 Posts in Topic:
Program hangs with no output
David Given <dg@[EMAIL  2008-04-01 12:17:08 
Re: Program hangs with no output
Kenneth Brody <kenbrod  2008-04-04 10:34:10 
Re: Program hangs with no output
Jack Klein <jackklein@  2008-04-04 10:35:01 
Re: Program hangs with no output
Barry Schwarz <schwarz  2008-04-04 10:35:08 
Re: Program hangs with no output
Jens Schweikhardt <use  2008-04-04 10:35:15 
[comp.lang.c.moderated] Re: Program hangs with no output
Val <Valery_Creux@[EMA  2008-04-04 10:35:19 
Re: Program hangs with no output
dwolffxx@[EMAIL PROTECTED  2008-04-04 10:35:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 3:44:14 CDT 2008.