<?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: C Reference  String Operation: strchr()</title>
	<atom:link href="http://www.codingunit.com/c-reference-string-h-string-operation-strchr/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codingunit.com/c-reference-string-h-string-operation-strchr</link>
	<description>CodingUnit is your online resource for learning to program. Tutorials on C, C++, PHP, Python, MySQL, Java, JQuery, Opengl, DirectX and much more!</description>
	<lastBuildDate>Mon, 06 Feb 2012 06:08:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Greg</title>
		<link>http://www.codingunit.com/c-reference-string-h-string-operation-strchr/comment-page-1#comment-3778</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Mon, 19 Sep 2011 18:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=292#comment-3778</guid>
		<description>The function main() should either be type void or int and a return value. So I added:
int main ()
{
...
return 0;
}
I&#039;m on Ubuntu natty, with AMD64 cpu, when compiling with: gcc -Wall -o string1 string1.c
I get:
string1.c: In function ‘main’:
string1.c:25:2: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’</description>
		<content:encoded><![CDATA[<p>The function main() should either be type void or int and a return value. So I added:<br />
int main ()<br />
{<br />
&#8230;<br />
return 0;<br />
}<br />
I&#8217;m on Ubuntu natty, with AMD64 cpu, when compiling with: gcc -Wall -o string1 string1.c<br />
I get:<br />
string1.c: In function ‘main’:<br />
string1.c:25:2: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’</p>
]]></content:encoded>
	</item>
</channel>
</rss>

