<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Function13.net &#187; compilation</title>
	<atom:link href="http://www.function13.net/tag/compilation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.function13.net</link>
	<description>A blog about technology and code.</description>
	<lastBuildDate>Tue, 23 Feb 2010 07:37:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Basic Compilation of a C++ Program</title>
		<link>http://www.function13.net/2008/08/24/basic-compiling-of-a-c-program/</link>
		<comments>http://www.function13.net/2008/08/24/basic-compiling-of-a-c-program/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 00:27:09 +0000</pubDate>
		<dc:creator>lijamez</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[g++]]></category>

		<guid isPermaLink="false">http://lijamez.wordpress.com/?p=128</guid>
		<description><![CDATA[If you are using Mac OSX or Linux, go to the folder where your cpp file is located in the terminal. On windows, you will need to install g++. Assuming your source file is called main.app, and you want your output file to be called &#8220;hellos&#8221; then type the following: g++ -o hellos main.cpp To [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.function13.net/wp-content/compile.png"><img class="aligncenter size-full wp-image-472" title="compile" src="http://www.function13.net/wp-content/compile.png" alt="compile" width="417" height="273" /></a></p>
<p style="text-align:center;">
<p>If you are using Mac OSX or Linux, go to the folder where your cpp file is located in the terminal. On windows, you will need to install g++.</p>
<p>Assuming your source file is called main.app, and you want your output file to be called &#8220;hellos&#8221; then type the following:</p>
<pre>g++ -o hellos main.cpp</pre>
<p>To run it:</p>
<pre>./hellos</pre>
<p>Note: It is possible to compile the program without specifying the output file name but it will default to &#8220;a.out&#8221;:</p>
<pre>g++ main.cpp</pre>
<p>Additional compiler options can be found <a href="http://homepages.gac.edu/~mc38/2001J/documentation/g++.html">here</a>.</p>
<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
<li class="sexy-reddit">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-digg">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-delicious">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-stumbleupon">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-facebook">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-linkedin">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-google">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-slashdot">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-blogger">
			<a href="" rel="nofollow" title=""></a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.function13.net/2008/08/24/basic-compiling-of-a-c-program/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
