<div dir='rtl'><font face="Arial" size="3"><p><br /><span style="color: #006600; font-family: Arial">Hi Orr and all,</span><span style="font-family: Arial"></span></p><p><span style="font-family: Arial">&nbsp;</span></p><p><span style="color: #006600; font-family: Arial">It clearly is a garbage collector failure. The&nbsp;dumkopf constructor should be called at this point.</span><span style="font-family: Arial"></span></p><p><span style="font-family: Arial">&nbsp;</span></p><p><span style="color: #006600; font-family: Arial">I think I might come with a BI lecture, but please&nbsp;give me some time to arrange it.</span></p><p><span style="color: #006600; font-family: Arial"></span><span style="font-family: Arial"></span></p><p><span style="color: #006600; font-family: Arial">Yours Truly,</span><span style="font-family: Arial"></span></p><p><span style="color: #006600; font-family: Arial">Benny Ganor</span><span style="font-family: Arial"></span></p><p><br /><br /><br /><br /></p><div style="background-color: #eeeeee; border: #666666 1px solid"><font size="2"><strong>&lt;orr.dunkelman@gmail.com&gt;</strong><br />Re: [Haifux] pop(queue) fails</font></div><pre>To all of you who missed the point of my message:  The lecture queue is empty. There are no lectures.  Please, if you want to give a lecture, contact us at webmaster@haifux.org with title and abstract (and possible dates).  Cheers,  On Sun, Oct 26, 2008 at 7:00 AM, Tal Abir &lt;tal.abir@gmail.com&gt; wrote: &gt; The code doesn&#39;t compile. &gt; The function pop doesn&#39;t return value in all cases. &gt; &gt; I think you&#39;ve compiled and run some other project. &gt; &gt; Hope it helps, &gt; Tal. &gt; &gt; On Sat, Oct 25, 2008 at 5:01 PM, Orr Dunkelman &lt;orr.dunkelman@gmail.com&gt; &gt; wrote: &gt;&gt; &gt;&gt; hi guys, &gt;&gt; &gt;&gt; I have some issues with the following code, help would be appreciated. &gt;&gt; &gt;&gt; #include &lt;stdio.h&gt; &gt;&gt; &gt;&gt; struct Lecture { &gt;&gt;   char Lecturer[80]; &gt;&gt;   char Topic[160]; &gt;&gt;   char Date[30]; &gt;&gt; } lecture-str; &gt;&gt; &gt;&gt; struct Node { &gt;&gt;   lecture-str data; &gt;&gt;   Node *next, *prev; &gt;&gt; } node-str; &gt;&gt; &gt;&gt; struct Queue { &gt;&gt;   Node First; &gt;&gt;   int size; &gt;&gt; } Queue-str; &gt;&gt; &gt;&gt; /* standard stuff */ &gt;&gt; &gt;&gt; int pop (Queue-str Haifux) &gt;&gt; { &gt;&gt;   Node ptr*; &gt;&gt;   if (Haifux-&gt;size == 0) { printf (&quot;No lecture in queue\n&quot;); return -1; &gt;&gt; &gt;&gt;   print_node (Haifux-&gt;First); &gt;&gt;   ptr=Haifux-&gt;First; &gt;&gt;   Haifux-&gt;First = Hiafux-&gt;First.next; &gt;&gt;   free (ptr); &gt;&gt; &gt;&gt;   size --; &gt;&gt;   if (size)   Haifux-&gt;First.prev=NULL; &gt;&gt; } &gt;&gt; &gt;&gt; ===================================================================== &gt;&gt; &gt;&gt; Well, the code failed with the error message &gt;&gt; &gt;&gt;   No lecture in queue &gt;&gt; &gt;&gt; Help, somebody? &gt;&gt; &gt;&gt; -- &gt;&gt; Orr Dunkelman, &gt;&gt; Orr.Dunkelman@gmail.com &gt;&gt; &gt;&gt; &quot;a scientific man ought to have no wishes, no affections, -- a mere &gt;&gt; heart of stone&quot; - Charles Darwin. &gt;&gt; &gt;&gt; GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C B73F D0AA &gt;&gt; (This key will never sign Emails, only other PGP keys. The key &gt;&gt; corresponds to orrd@vipe.technion.ac.il) &gt;&gt; _______________________________________________ &gt;&gt; Haifux mailing list &gt;&gt; Haifux@haifux.org <a href="http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux">http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux</a> &gt; &gt;    --  Orr Dunkelman, Orr.Dunkelman@gmail.com  &quot;a scientific man ought to have no wishes, no affections, -- a mere heart of stone&quot; - Charles Darwin.  GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C B73F D0AA (This key will never sign Emails, only other PGP keys. The key corresponds to orrd@vipe.technion.ac.il) _______________________________________________ Haifux mailing list Haifux@haifux.org <a href="http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux">http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux</a> </pre></font></div><hr><div style="background-color:white;color:black;">Walla! Mail - <a href="http://www.walla.co.il" style="color:blue">Get your free unlimited mail today</a></div>