<?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#/C++ &#8211; Hello World!</title>
	<atom:link href="http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/</link>
	<description>...when coding passion, gaming addiction, Internet surfing syndrome and the real life collide...</description>
	<lastBuildDate>Tue, 12 Apr 2011 07:03:09 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Marco</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-117</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Thu, 10 Jan 2008 20:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-117</guid>
		<description>I was already on the good student list...even at the top already. I just made sure that I stay at the top ;)&lt;br&gt;&lt;br&gt;All tutorials I found so far never used getch(), cin.get() or even system(&quot;Pause&quot;) and believe me, I tried a lot on google... Hopefully this tutorial will help there somehow. Although I wish at school our teacher would do it either C   or C# style as these are the languages we are supposed to learn. Using a C function is in my opinion not good...&lt;br&gt;&lt;br&gt;About that system(&quot;Pause&quot;), I never heard about it (same with cin.get()) until I did some research during my vacations as I wrote small program to show off again ;)&lt;br&gt;I guess I can call me lucky that my teacher doesn&#039;t try to teach us system(&quot;pause&quot;) :twisted:&lt;br&gt;&lt;br&gt;@breaks: I didn&#039;t change much, only added NicEdit...and it is working fine on my end...</description>
		<content:encoded><![CDATA[<p>I was already on the good student list&#8230;even at the top already. I just made sure that I stay at the top <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>All tutorials I found so far never used getch(), cin.get() or even system(&#8220;Pause&#8221;) and believe me, I tried a lot on google&#8230; Hopefully this tutorial will help there somehow. Although I wish at school our teacher would do it either C   or C# style as these are the languages we are supposed to learn. Using a C function is in my opinion not good&#8230;</p>
<p>About that system(&#8220;Pause&#8221;), I never heard about it (same with cin.get()) until I did some research during my vacations as I wrote small program to show off again <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <br />I guess I can call me lucky that my teacher doesn&#8217;t try to teach us system(&#8220;pause&#8221;) <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' /> </p>
<p>@breaks: I didn&#8217;t change much, only added NicEdit&#8230;and it is working fine on my end&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slevi</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-116</link>
		<dc:creator>Slevi</dc:creator>
		<pubDate>Thu, 10 Jan 2008 18:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-116</guid>
		<description>Haha, so now you&#039;re on the good student list eh? ;) And always a pleasure to help, I still know when I began teaching myself programming years ago it was a complete pain when running into stuff like that without it being explained.&lt;br /&gt;These days though it tends to be the complete opposite, there&#039;s so many people which began programming you might end up getting sloppy style when relying on what you find on the net too much.&lt;br /&gt;A great example in the hello world is rather than using getch() or cin.get() to use a system(&quot;PAUSE&quot;), whereas the first are solutions to the problem and the latter is just a quick hack.&lt;br /&gt;Funny thing though is that in high school I had a teacher which actually tried to teach me the system pause method :P.

PS: Second time it happened now, so perhaps you changed something with the commenting form but for some reason it keeps taking out the breaks?

&lt;em&gt;Slevi&#039;s last blog post..&lt;a href=&#039;http://feeds.feedburner.com/~r/Slevi/~3/214490131/&#039; rel=&quot;nofollow&quot;&gt;What’s your excuse to blog&lt;/a&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Haha, so now you&#8217;re on the good student list eh? <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  And always a pleasure to help, I still know when I began teaching myself programming years ago it was a complete pain when running into stuff like that without it being explained.<br />These days though it tends to be the complete opposite, there&#8217;s so many people which began programming you might end up getting sloppy style when relying on what you find on the net too much.<br />A great example in the hello world is rather than using getch() or cin.get() to use a system(&#8220;PAUSE&#8221;), whereas the first are solutions to the problem and the latter is just a quick hack.<br />Funny thing though is that in high school I had a teacher which actually tried to teach me the system pause method <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p>PS: Second time it happened now, so perhaps you changed something with the commenting form but for some reason it keeps taking out the breaks?</p>
<p><em>Slevi&#8217;s last blog post..<a href='http://feeds.feedburner.com/~r/Slevi/~3/214490131/'>What’s your excuse to blog</a></em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-115</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Thu, 10 Jan 2008 17:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-115</guid>
		<description>I hate double-commenting, but I prefer it in this case instead of editing my last comment :)&lt;br&gt;&lt;br&gt;I talked with my teacher and I was right. We will talk about those arguments at a later date. At least I was able to show off my knowledge a little bit, gaining a few more plus points. Big thanks for that information, Slevi :-D&lt;br&gt;&lt;br&gt;Although we didn&#039;t have it at school, yet, I will update my tutorial later and add the piece of information about these arguments. Of course you will get full credit for that part of the tutorial :)&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>I hate double-commenting, but I prefer it in this case instead of editing my last comment <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I talked with my teacher and I was right. We will talk about those arguments at a later date. At least I was able to show off my knowledge a little bit, gaining a few more plus points. Big thanks for that information, Slevi <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Although we didn&#8217;t have it at school, yet, I will update my tutorial later and add the piece of information about these arguments. Of course you will get full credit for that part of the tutorial <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-114</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Thu, 10 Jan 2008 11:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-114</guid>
		<description>I guess our teacher will tell us about this later when we are going to need it...&lt;br&gt;&lt;br&gt;Anyway, thanks to PHP I have quite an advance compared to my colleagues and...to be honest...I assume that I&#039;m one of the best (if not the best) in the programming class at this moment :)&lt;br&gt;&lt;br&gt;Long story short, I do know how a for loop works and I know what an array is. Thanks for your detailed explanation on the argv part.&lt;br&gt;Still, I will bug my teacher, maybe he will tell my colleagues what these arguments mean ;)&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>I guess our teacher will tell us about this later when we are going to need it&#8230;</p>
<p>Anyway, thanks to PHP I have quite an advance compared to my colleagues and&#8230;to be honest&#8230;I assume that I&#8217;m one of the best (if not the best) in the programming class at this moment <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Long story short, I do know how a for loop works and I know what an array is. Thanks for your detailed explanation on the argv part.<br />Still, I will bug my teacher, maybe he will tell my colleagues what these arguments mean <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slevi</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-113</link>
		<dc:creator>Slevi</dc:creator>
		<pubDate>Thu, 10 Jan 2008 10:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-113</guid>
		<description>It&#039;s a C function, C# has Console.Read :).

And haha, if they weren&#039;t gonna tell what it was anyways they could just as well have skipped placing them till they&#039;d explain since they&#039;re not needed to make your program run :P. 

But it&#039;s command line arguments, so if you&#039;d start up your program with something like &quot;test.exe bla whatever&quot; you&#039;d pick up the bla and whatever arguments.argv[0] is the name of your own application, argc is the count of arguments given. So if you want to display them you could do something like:

for (int i = 1; i &lt; argc; i  ) {
cout &lt;&lt; argv[i] &lt;&lt; endl;
}

Bit more advanced than the tutorial, but for if you&#039;d already know what a for loop is and what an array is you should be able to understand that part quite well :).

&lt;em&gt;Slevi&#039;s last blog post..&lt;a href=&quot;http://feeds.feedburner.com/~r/Slevi/~3/213854419/&quot; rel=&quot;nofollow&quot;&gt;Joost not quite the revolutionary TV?&lt;/a&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>It&#8217;s a C function, C# has Console.Read <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>And haha, if they weren&#8217;t gonna tell what it was anyways they could just as well have skipped placing them till they&#8217;d explain since they&#8217;re not needed to make your program run <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . </p>
<p>But it&#8217;s command line arguments, so if you&#8217;d start up your program with something like &#8220;test.exe bla whatever&#8221; you&#8217;d pick up the bla and whatever arguments.argv[0] is the name of your own application, argc is the count of arguments given. So if you want to display them you could do something like:</p>
<p>for (int i = 1; i &lt; argc; i  ) {<br />
cout &lt;&lt; argv[i] &lt;&lt; endl;<br />
}</p>
<p>Bit more advanced than the tutorial, but for if you&#8217;d already know what a for loop is and what an array is you should be able to understand that part quite well <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><em>Slevi&#8217;s last blog post..<a href="http://feeds.feedburner.com/~r/Slevi/~3/213854419/">Joost not quite the revolutionary TV?</a></em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-112</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Thu, 10 Jan 2008 04:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-112</guid>
		<description>well, good questions, Slevi.&lt;br&gt;&lt;br&gt;First of all I&#039;m repeating what I learn at school. The above program was the first we wrote to have a first look at the language. I myself know already about cin.get() and intend to introduce it in my tutorials at a later date. Especially as I have no clue when we will have it at school.&lt;br&gt;&lt;br&gt;I assume that getch() is a C/C# function but I&#039;m not sure on it.&lt;br&gt;&lt;br&gt;Further, our teacher never told us anything about the variables in the main function, otherwise I would have included a brief description. On this one I&#039;m as clue less as my readers. But I&#039;ll ask my teacher about that as soon as I see him again because the meaning of those variables is also bugging me for some time now.&lt;br&gt;&lt;br&gt;I hope I was able to clear things up a bit :)&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>well, good questions, Slevi.</p>
<p>First of all I&#8217;m repeating what I learn at school. The above program was the first we wrote to have a first look at the language. I myself know already about cin.get() and intend to introduce it in my tutorials at a later date. Especially as I have no clue when we will have it at school.</p>
<p>I assume that getch() is a C/C# function but I&#8217;m not sure on it.</p>
<p>Further, our teacher never told us anything about the variables in the main function, otherwise I would have included a brief description. On this one I&#8217;m as clue less as my readers. But I&#8217;ll ask my teacher about that as soon as I see him again because the meaning of those variables is also bugging me for some time now.</p>
<p>I hope I was able to clear things up a bit <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slevi</title>
		<link>http://www.ruelicke.net/2008/01/09/c-sharp-c-plus-plus-hello-world/comment-page-1/#comment-111</link>
		<dc:creator>Slevi</dc:creator>
		<pubDate>Thu, 10 Jan 2008 00:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruelicke.net/2008/01/c-sharp-c-plus-plus-hello-world/#comment-111</guid>
		<description>Why use a getch() and not the C   equivalent cin.get() ?Asides from that nice little tutorial, although I bet you left some people clueless on what the argument variables within the main function are for I think ;).

&lt;em&gt;Slevi&#039;s last blog post..&lt;a href=&quot;http://feeds.feedburner.com/~r/Slevi/~3/213854419/&quot; rel=&quot;nofollow&quot;&gt;Joost not quite the revolutionary TV?&lt;/a&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Why use a getch() and not the C   equivalent cin.get() ?Asides from that nice little tutorial, although I bet you left some people clueless on what the argument variables within the main function are for I think <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p><em>Slevi&#8217;s last blog post..<a href="http://feeds.feedburner.com/~r/Slevi/~3/213854419/">Joost not quite the revolutionary TV?</a></em></p>
]]></content:encoded>
	</item>
</channel>
</rss>

