<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.co.uk/group/comp.lang.c</id>
  <title type="text">comp.lang.c Google Group</title>
  <subtitle type="text">
  Discussion about C.
  </subtitle>
  <link href="/group/comp.lang.c/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.c feed"/>
  <updated>2009-11-27T19:21:28Z</updated>
  <generator uri="http://groups.google.co.uk" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>املي</name>
  <email>mmu...@gmail.com</email>
  </author>
  <updated>2009-11-27T19:21:28Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/89cd20d77c9c7171/316c0862be05eb0f?show_docid=316c0862be05eb0f</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/89cd20d77c9c7171/316c0862be05eb0f?show_docid=316c0862be05eb0f"/>
  <title type="text">كارثه امطار جده بالصور</title>
  <summary type="html" xml:space="preserve">
  كارثه امطار جده بالصور &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.amlly.com/vb/t16334.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; مقطع صوتي مضحك وحصري يتعرض له شاب عبر الهاتف &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.amlly.com/vb/t16358.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; لنبارك لاختنا .. ملكة الليل .. بمناسبة وصولها الألفيه الأولى
  </summary>
  </entry>
  <entry>
  <author>
  <name>osmium</name>
  <email>r124c4u...@comcast.net</email>
  </author>
  <updated>2009-11-27T17:50:17Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/e586297674784a96/2ab8fb1aacbde569?show_docid=2ab8fb1aacbde569</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/e586297674784a96/2ab8fb1aacbde569?show_docid=2ab8fb1aacbde569"/>
  <title type="text">Re: K&amp;R hash table question.</title>
  <summary type="html" xml:space="preserve">
  How about page 144? Note the modulo operator in the returned value. That &lt;br&gt; reduces the value to the range of the array. &lt;br&gt; Segmentation faults result from running code, post the code.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Giacomo Degli Esposti</name>
  <email>giacomo.degliespo...@gmail.com</email>
  </author>
  <updated>2009-11-27T17:24:25Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/e586297674784a96/f4b40c6482c71a8d?show_docid=f4b40c6482c71a8d</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/e586297674784a96/f4b40c6482c71a8d?show_docid=f4b40c6482c71a8d"/>
  <title type="text">Re: K&amp;R hash table question.</title>
  <summary type="html" xml:space="preserve">
  [...] &lt;br&gt; Hello. &lt;br&gt; I haven&#39;t a copy of the book to check at the moment, but this seems &lt;br&gt; quite unlikely that k&amp;amp;r contains such an error. &lt;br&gt; I see two possibilities: maybe the hash function returns a value that &lt;br&gt; is &lt;br&gt; always in the interval 0..N-1 where N is the numebr of elements of &lt;br&gt; the array. &lt;br&gt; The other possibility is that a mod N is applied so that the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Keith Thompson</name>
  <email>ks...@mib.org</email>
  </author>
  <updated>2009-11-27T16:37:39Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/25bbd3cd4ae52224/d6fc4d5100803941?show_docid=d6fc4d5100803941</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/25bbd3cd4ae52224/d6fc4d5100803941?show_docid=d6fc4d5100803941"/>
  <title type="text">Re: Improving efficiency of a bytecode interpreter</title>
  <summary type="html" xml:space="preserve">
  But you can&#39;t cast (or otherwise convert) function types. You can &lt;br&gt; cast pointer-to-function types.
  </summary>
  </entry>
  <entry>
  <author>
  <name>b4283</name>
  <email>da.mi.spi...@gmail.com</email>
  </author>
  <updated>2009-11-27T16:29:32Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/e586297674784a96/8450c81d516e9b57?show_docid=8450c81d516e9b57</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/e586297674784a96/8450c81d516e9b57?show_docid=8450c81d516e9b57"/>
  <title type="text">K&amp;R hash table question.</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I&#39;ve encountered some confusing questions while reading k&amp;amp;r ed2. &lt;br&gt; Around page 128, in the book, has introduced an &amp;quot;hash-search &lt;br&gt; algorithm&amp;quot;, while they uses hash(s) which is the hashed number of an &lt;br&gt; string, as the array index, this had raised my question: doesn&#39;t array &lt;br&gt; indexes have to start from 0 to (i-1), but random assigning index is
  </summary>
  </entry>
  <entry>
  <author>
  <name>tradenow</name>
  <email>niceyoyotra...@163.com</email>
  </author>
  <updated>2009-11-27T16:24:01Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/bc1067c5ed5e584b/d26ce0e4750195fd?show_docid=d26ce0e4750195fd</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/bc1067c5ed5e584b/d26ce0e4750195fd?show_docid=d26ce0e4750195fd"/>
  <title type="text">Free shipping Cheap Wholesale LV Handbag, Jimmy Choo,Miumiu Real Leather Handbags&amp;purse (www.dotradenow.com.cn)</title>
  <summary type="html" xml:space="preserve">
  AAA real leather Handbags &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.dotradenow.com.cn/category-882-b0-AAA-True-Leather.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Cheap Wholesale Balenciaga real leather Handbags &lt;br&gt; &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.dotradenow.com.cn&quot;&gt;[link]&lt;/a&gt; paypal payment&amp;gt; &lt;br&gt; Cheap Wholesale Balenciaga real leather Purse &lt;br&gt; Cheap Wholesale Bally real leather Purse &amp;lt;free shipping paypal &lt;br&gt; payment&amp;gt; &lt;br&gt; Cheap Wholesale BOSS real leather Purse &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.dotradenow.com.cn&quot;&gt;[link]&lt;/a&gt; paypal
  </summary>
  </entry>
  <entry>
  <author>
  <name>cornelis van der bent</name>
  <email>kees.van.der.b...@gmail.com</email>
  </author>
  <updated>2009-11-27T15:16:51Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/a0c21fb2791a8f08?show_docid=a0c21fb2791a8f08</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/a0c21fb2791a8f08?show_docid=a0c21fb2791a8f08"/>
  <title type="text">Re: cascading stdarg calls</title>
  <summary type="html" xml:space="preserve">
  Thanks for pointing this out. Apologies! I did search google for a &lt;br&gt; short period but without succes, but had forgotten to look in the good &lt;br&gt; old C-FAQ. &lt;br&gt; Cornelis
  </summary>
  </entry>
  <entry>
  <author>
  <name>Boudewijn Dijkstra</name>
  <email>sp4mtr4p.boudew...@indes.com</email>
  </author>
  <updated>2009-11-27T15:09:34Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/a3eeb827bb138f1e/9d8cdbd955392878?show_docid=9d8cdbd955392878</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/a3eeb827bb138f1e/9d8cdbd955392878?show_docid=9d8cdbd955392878"/>
  <title type="text">Re: Endianness macros</title>
  <summary type="html" xml:space="preserve">
  Op Fri, 27 Nov 2009 13:18:02 +0100 schreef Noob &amp;lt;r...@127.0.0.1&amp;gt;: &lt;br&gt; Totally irrelevant. &lt;br&gt; I assume that the target address is external to the MCU. &lt;br&gt; It depends. If the data bus you&#39;re talking to is 8 bits, then it might &lt;br&gt; matter, depending on whether your MCU has an appropriately configured &lt;br&gt; external bus controller peripheral. If the data bus is 32 bits, then you
  </summary>
  </entry>
  <entry>
  <author>
  <name>cornelis van der bent</name>
  <email>kees.van.der.b...@gmail.com</email>
  </author>
  <updated>2009-11-27T15:13:49Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/d5996891841da0c7?show_docid=d5996891841da0c7</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/d5996891841da0c7?show_docid=d5996891841da0c7"/>
  <title type="text">Re: cascading stdarg calls</title>
  <summary type="html" xml:space="preserve">
  On 27 nov, 15:55, Giacomo Degli Esposti &lt;br&gt; Thanks for the quick answer! It&#39;s already in my code now and of &lt;br&gt; course works. &lt;br&gt; Cornelis
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ben Bacarisse</name>
  <email>ben.use...@bsb.me.uk</email>
  </author>
  <updated>2009-11-27T14:59:46Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/3b9727c387dd2280?show_docid=3b9727c387dd2280</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/3b9727c387dd2280?show_docid=3b9727c387dd2280"/>
  <title type="text">Re: cascading stdarg calls</title>
  <summary type="html" xml:space="preserve">
  This is a FAQ: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://c-faq.com/varargs/handoff.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; You have to read the linked FAQs first. &lt;br&gt; &amp;lt;snip&amp;gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Giacomo Degli Esposti</name>
  <email>giacomo.degliespo...@gmail.com</email>
  </author>
  <updated>2009-11-27T14:55:55Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/b63cf838b3876a6f?show_docid=b63cf838b3876a6f</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/b63cf838b3876a6f?show_docid=b63cf838b3876a6f"/>
  <title type="text">Re: cascading stdarg calls</title>
  <summary type="html" xml:space="preserve">
  On 27 Nov, 15:34, cornelis van der bent &amp;lt;kees.van.der.b...@gmail.com&amp;gt; &lt;br&gt; wrote: &lt;br&gt; hello. &lt;br&gt; The problem is that you cannot call a function with &amp;quot;...&amp;quot; passing &lt;br&gt; it a va_list. You have to create a function accepting a va_list &lt;br&gt; as argument. &lt;br&gt; In your code, you are not calling sprintf, but vsprintf. This is &lt;br&gt; for the same reason: you cannot call sprintf and pass it a va_list.
  </summary>
  </entry>
  <entry>
  <author>
  <name>mohangupta13</name>
  <email>mohangupt...@gmail.com</email>
  </author>
  <updated>2009-11-27T14:43:56Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/983b9d0863cbd0f2?show_docid=983b9d0863cbd0f2</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/983b9d0863cbd0f2?show_docid=983b9d0863cbd0f2"/>
  <title type="text">Re: cascading stdarg calls</title>
  <summary type="html" xml:space="preserve">
  On Nov 27, 7:34 pm, cornelis van der bent &lt;br&gt; where is protocolText defined?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ben Bacarisse</name>
  <email>ben.use...@bsb.me.uk</email>
  </author>
  <updated>2009-11-27T14:43:23Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/25bbd3cd4ae52224/8909c36270be2365?show_docid=8909c36270be2365</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/25bbd3cd4ae52224/8909c36270be2365?show_docid=8909c36270be2365"/>
  <title type="text">Re: Improving efficiency of a bytecode interpreter</title>
  <summary type="html" xml:space="preserve">
  It is much more common to typedef function pointer types rather than &lt;br&gt; the function types themselves, but there are some advantages to the &lt;br&gt; latter. For example, it lets you declare a bunch of similar functions &lt;br&gt; very compactly: &lt;br&gt; typedef void binary_op(struct state *, struct value, struct value); &lt;br&gt; extern binary_op op_add, op_sub, op_mul, op_div /*...*/;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mel</name>
  <email>mwil...@the-wire.com</email>
  </author>
  <updated>2009-11-27T14:39:38Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/a3eeb827bb138f1e/6c279be3b0d8c6c0?show_docid=6c279be3b0d8c6c0</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/a3eeb827bb138f1e/6c279be3b0d8c6c0?show_docid=6c279be3b0d8c6c0"/>
  <title type="text">Re: Endianness macros</title>
  <summary type="html" xml:space="preserve">
  Also very common when you&#39;ve got a buffer full of binary stuff read in from &lt;br&gt; some other medium -- file, Internet packet, EEPROM, etc. -- which was &lt;br&gt; created with a different convention from yours. &lt;br&gt; Mel.
  </summary>
  </entry>
  <entry>
  <author>
  <name>cornelis van der bent</name>
  <email>kees.van.der.b...@gmail.com</email>
  </author>
  <updated>2009-11-27T14:34:16Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/17e4938d8bceda0c?show_docid=17e4938d8bceda0c</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/4554be7ab8cb5361/17e4938d8bceda0c?show_docid=17e4938d8bceda0c"/>
  <title type="text">cascading stdarg calls</title>
  <summary type="html" xml:space="preserve">
  Hi, the code below prints a garbage &amp;quot;world&amp;quot; value to &amp;lt;messages&amp;gt;; &lt;br&gt; &amp;quot;Hello &amp;quot; is fine. What can be the problem? &lt;br&gt; static char messages[LARGE_ENOUGH]; &lt;br&gt; int writeText(char* text, char* format, ...) &lt;br&gt; { &lt;br&gt; va_list argumentList; &lt;br&gt; va_start(argumentList, format); &lt;br&gt; vsprintf(text, format, argumentList); &lt;br&gt; va_end(argumentList);
  </summary>
  </entry>
</feed>
