<?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>C ++ &#187; Header files</title>
	<atom:link href="http://www.bizzymicbizness.com/cplusplus/tag/header-files/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bizzymicbizness.com/cplusplus</link>
	<description>All about C++</description>
	<lastBuildDate>Mon, 19 Oct 2009 12:38:17 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introduction to Header Files</title>
		<link>http://www.bizzymicbizness.com/cplusplus/introduction-to-header-files</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/introduction-to-header-files#comments</comments>
		<pubDate>Mon, 24 Aug 2009 23:27:29 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Introduction to C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Header files]]></category>
		<category><![CDATA[Libraries]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=4</guid>
		<description><![CDATA[The libraries are

(Also) called header files

And, as computer files

They have the extension “.h”

house.h
person.h
They could have any name



iostream

Asks the computer to display stuff on the monitor’s screen


How to put a library in your program

Put it at the beginning of the file (A-1)


Example of (A-1)

iostream.h


How to use a library in your program

Simply include it by using the [...]]]></description>
			<content:encoded><![CDATA[<p>The libraries are</p>
<ul>
<li>(Also) called header files</li>
<ul>
<li>And, as computer files</li>
</ul>
<li>They have the extension “<strong>.h</strong>”</li>
<ul>
<li><strong>house.h</strong></li>
<li><strong>person.h</strong></li>
<li>They could have any name</li>
</ul>
</ul>
<p><br class="blank" /><br />
<strong>iostream</strong></p>
<ul>
<li>Asks the computer to display stuff on the monitor’s screen</li>
</ul>
<p><br class="blank" /><br />
How to put a library in your program</p>
<ul>
<li>Put it at the beginning of the file (A-1)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-1)</p>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">iostream.<span style="color: #007788;">h</span></pre></div></div>

<p><br class="blank" /><br />
How to use a library in your program</p>
<ul>
<li>Simply include it by using the word &#8220;<strong>include</strong>&#8221; before the name of the library (A-2)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-2)</p>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">include iostream.<span style="color: #007788;">h</span></pre></div></div>

<p><br class="blank" /><br />
The pound sign &#8220;<strong>#</strong>&#8221;</p>
<ul>
<li>Append the sign when you want the computer to “know” that the word &#8220;include&#8221; means , &#8220;I want to include the following library&#8221; (A-3)</li>
</ul>
<p><br class="blank" /> <br />
Example of (A-3)</p>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include iostream.h</span></pre></div></div>

<p><br class="blank" /><br />
There are usually two kinds of libraries or files you will use in your programs</p>
<ul>
<li>Libraries that came with C++</li>
<li>Those that you write</li>
</ul>
<p><br class="blank" /><br />
To include your own library</p>
<ul>
<li>Enclose it between double quotes (A-4)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-4)</p>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &quot;books.h&quot;</span></pre></div></div>

<p><br class="blank" /><br />
To include the library that came with C++</p>
<ul>
<li>Enclose it between <strong>&lt;</strong> and <strong>&gt;</strong> (A-5)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-5)</p>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;iostream.h&gt;</span></pre></div></div>

<p><br class="blank" /><br />
You can add as many libraries</p>
<ul>
<li>As you see fit</li>
</ul>
<p><br class="blank" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/introduction-to-header-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

