<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Relationship Advice</title>
	<atom:link href="http://www.geekherocomic.com/2009/03/27/relationship-advice/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/</link>
	<description>The geeky adventures of Randie</description>
	<lastBuildDate>Tue, 09 Feb 2010 12:36:17 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sssnakecharmer</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1866</link>
		<dc:creator>sssnakecharmer</dc:creator>
		<pubDate>Sat, 18 Apr 2009 07:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1866</guid>
		<description>I DON&#039;T AGREE WITH : void (*complain) (Woman *);
NO, NO, NO!!!
But lol @ the rest
Bu tnot all women complain :)</description>
		<content:encoded><![CDATA[<p>I DON&#8217;T AGREE WITH : void (*complain) (Woman *);<br />
NO, NO, NO!!!<br />
But lol @ the rest<br />
Bu tnot all women complain :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: etb</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1694</link>
		<dc:creator>etb</dc:creator>
		<pubDate>Thu, 02 Apr 2009 17:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1694</guid>
		<description>Wilma, Moss and Ross&#039; mom are waiting too... (joking) I see your point.
It is a pity anyhow... I always liked all-including cast pages.</description>
		<content:encoded><![CDATA[<p>Wilma, Moss and Ross&#8217; mom are waiting too&#8230; (joking) I see your point.<br />
It is a pity anyhow&#8230; I always liked all-including cast pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salvatore Iovene</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1626</link>
		<dc:creator>Salvatore Iovene</dc:creator>
		<pubDate>Mon, 30 Mar 2009 07:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1626</guid>
		<description>@etb, I&#039;ll add Aashna soon, when there&#039;s more strips about here and her personality is defined. Mike and Joe aren&#039;t important enough to make it to the cast page :-)</description>
		<content:encoded><![CDATA[<p>@etb, I&#8217;ll add Aashna soon, when there&#8217;s more strips about here and her personality is defined. Mike and Joe aren&#8217;t important enough to make it to the cast page :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: etb</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1623</link>
		<dc:creator>etb</dc:creator>
		<pubDate>Sun, 29 Mar 2009 20:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1623</guid>
		<description>The cast section does need to be updated again: Aashna, Mike and Joe are waiting!</description>
		<content:encoded><![CDATA[<p>The cast section does need to be updated again: Aashna, Mike and Joe are waiting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sick_oscar</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1622</link>
		<dc:creator>sick_oscar</dc:creator>
		<pubDate>Sat, 28 Mar 2009 16:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1622</guid>
		<description>lol</description>
		<content:encoded><![CDATA[<p>lol</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hirato</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1620</link>
		<dc:creator>Hirato</dc:creator>
		<pubDate>Sat, 28 Mar 2009 11:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1620</guid>
		<description>the official GNU one :P

women()
{
   goto bathroom;
  bathroom:
   while (1) ;
}</description>
		<content:encoded><![CDATA[<p>the official GNU one :P</p>
<p>women()<br />
{<br />
   goto bathroom;<br />
  bathroom:<br />
   while (1) ;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: etb</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1618</link>
		<dc:creator>etb</dc:creator>
		<pubDate>Sat, 28 Mar 2009 10:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1618</guid>
		<description>@Bobby
you must be very careful about what you say while there are language lawyers around... ;)

To be completely reserved an identifier must start with an underscore and having an uppercase letter or an other underscore as second character.
If the identifier only starts with an underscore it is reserved only in the ordinary and tag name space. Standard 7.1.3 .
As strange it might seem, in C (not C++) using the label _hello: or using the identifier a__b is legit.

Unsing typedef struct c c; works also in C++, but it unneeded.

Anyway, you are right about the main point, in a standard compliant C compiler the tag and ordinary name space are separate, no need to invent a new name. Old compilers get confused, but newer should not anymore (surely it does not gcc 4.3.3)

The correct struct definition would be:

typedef struct Woman Woman;
struct Woman
{
  int age;


  /* TODO: implement these functions. */
  void (*complain) (Woman *);
  void (*cook) (Woman *);
  void (*clean) (Woman *);
  /* These functions should be enough. */
};</description>
		<content:encoded><![CDATA[<p>@Bobby<br />
you must be very careful about what you say while there are language lawyers around&#8230; ;)</p>
<p>To be completely reserved an identifier must start with an underscore and having an uppercase letter or an other underscore as second character.<br />
If the identifier only starts with an underscore it is reserved only in the ordinary and tag name space. Standard 7.1.3 .<br />
As strange it might seem, in C (not C++) using the label _hello: or using the identifier a__b is legit.</p>
<p>Unsing typedef struct c c; works also in C++, but it unneeded.</p>
<p>Anyway, you are right about the main point, in a standard compliant C compiler the tag and ordinary name space are separate, no need to invent a new name. Old compilers get confused, but newer should not anymore (surely it does not gcc 4.3.3)</p>
<p>The correct struct definition would be:</p>
<p>typedef struct Woman Woman;<br />
struct Woman<br />
{<br />
  int age;</p>
<p>  /* TODO: implement these functions. */<br />
  void (*complain) (Woman *);<br />
  void (*cook) (Woman *);<br />
  void (*clean) (Woman *);<br />
  /* These functions should be enough. */<br />
};</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salvatore Iovene</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1616</link>
		<dc:creator>Salvatore Iovene</dc:creator>
		<pubDate>Sat, 28 Mar 2009 06:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1616</guid>
		<description>@protest, don&#039;t get too excited... it was a special week :) We&#039;re back to the 3-a-week schedule next week :(</description>
		<content:encoded><![CDATA[<p>@protest, don&#8217;t get too excited&#8230; it was a special week :) We&#8217;re back to the 3-a-week schedule next week :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1614</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Fri, 27 Mar 2009 23:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1614</guid>
		<description>Actually, in C you can do:

typedef struct Foo { ... } Foo;

The typedef can have the same name as the structure tag itself, no need for the extra underscore.  In fact, identifiers beginning with an underscore are reserved for use by the system headers and such, so should not be used for this.

Using the same name for both parts might break in C++ though, I&#039;m not sure.</description>
		<content:encoded><![CDATA[<p>Actually, in C you can do:</p>
<p>typedef struct Foo { &#8230; } Foo;</p>
<p>The typedef can have the same name as the structure tag itself, no need for the extra underscore.  In fact, identifiers beginning with an underscore are reserved for use by the system headers and such, so should not be used for this.</p>
<p>Using the same name for both parts might break in C++ though, I&#8217;m not sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: protest</title>
		<link>http://www.geekherocomic.com/2009/03/27/relationship-advice/comment-page-1/#comment-1613</link>
		<dc:creator>protest</dc:creator>
		<pubDate>Fri, 27 Mar 2009 21:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekherocomic.com/?p=640#comment-1613</guid>
		<description>My dream has come true! You&#039;re updating daily! Woohoo!</description>
		<content:encoded><![CDATA[<p>My dream has come true! You&#8217;re updating daily! Woohoo!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

