<?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; Introduction to C++</title>
	<atom:link href="http://www.bizzymicbizness.com/cplusplus/category/introduction-to-c/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>cin</title>
		<link>http://www.bizzymicbizness.com/cplusplus/cin</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/cin#comments</comments>
		<pubDate>Fri, 28 Aug 2009 02:36:03 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Introduction to C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[cin]]></category>
		<category><![CDATA[Operator]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=143</guid>
		<description><![CDATA[C++ is equipped with another operator used to request values from the user

The user usually provides such a value by typing it using the keyboard


The cin operator is used for that purpose

(Pronounce “see in”)
It displays a blinking cursor on the monitor to let the user know that a value is expected
Uses two greater than signs [...]]]></description>
			<content:encoded><![CDATA[<p>C++ is equipped with another operator used to request values from the user</p>
<ul>
<li>The user usually provides such a value by typing it using the keyboard</li>
</ul>
<p><br class="blank" /><br />
The <strong>cin</strong> operator is used for that purpose</p>
<ul>
<li>(Pronounce “see in”)</li>
<li>It displays a blinking cursor on the monitor to let the user know that a value is expected</li>
<li>Uses two greater than signs “<strong>&gt;&gt;</strong>” followed by the name of the expected value (A-1)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-1)</p>
<ul>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000dd;">cin</span> <span style="color: #000080;">&gt;&gt;</span> valueName<span style="color: #008080;">;</span></pre></div></div>

</ul>
<p><br class="blank" /><br />
If you are requesting many values from the user</p>
<ul>
<li>You can write a statement that would act accordingly by separating values with as many &gt;&gt; operators as necessary (A-2)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-2)</p>
<ul>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000dd;">cin</span> <span style="color: #000080;">&gt;&gt;</span> firstName <span style="color: #000080;">&gt;&gt;</span> lastName <span style="color: #000080;">&gt;&gt;</span> age<span style="color: #008080;">;</span></pre></div></div>

</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/cin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction</title>
		<link>http://www.bizzymicbizness.com/cplusplus/introduction</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/introduction#comments</comments>
		<pubDate>Thu, 27 Aug 2009 02:30:38 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Introduction to C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Hard Drive]]></category>
		<category><![CDATA[Random Access Memory]]></category>
		<category><![CDATA[Variable]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=99</guid>
		<description><![CDATA[To process the information of your program or the requests that your program presents to the user, the computer uses

(B-1) Two types of storage spaces


(B-1) The hard drive

A static storage area that keeps its information all the time, almost regardless of what happens to your computer


(B-1) Random Access Memory (RAM)

This storage area keeps its information [...]]]></description>
			<content:encoded><![CDATA[<p>To process the information of your program or the requests that your program presents to the user, the computer uses</p>
<ul>
<li>(B-1) Two types of storage spaces</li>
</ul>
<p><br class="blank" /><br />
(B-1) The hard drive</p>
<ul>
<li>A static storage area that keeps its information all the time, almost regardless of what happens to your computer</li>
</ul>
<p><br class="blank" /><br />
(B-1) Random Access Memory (RAM)</p>
<ul>
<li>This storage area keeps its information only when the computer is turned on. This means that the RAM loses its Information when the computer is turned off</li>
</ul>
<p><br class="blank" /><br />
When the user “opens” or launches a program</p>
<ul>
<li>Part of the program “goes” into the RAM</li>
</ul>
<p><br class="blank" /><br />
If or when the application is not used anymore, which means that if the user “closes” the application</p>
<ul>
<li>The part of memory that the application was using in the RAM is gone and the memory space that the application was using becomes available</li>
</ul>
<p><br class="blank" /><br />
When your program opens</p>
<ul>
<li>Part of your application gets “loaded” into the RAM</li>
</ul>
<p><br class="blank" /><br />
When the user is using your application</p>
<ul>
<li>The information that your application requests also goes into the RAM while your application is processing such requests</li>
</ul>
<p><br class="blank" /><br />
Before using such a variable</p>
<ul>
<li>You must first let the compiler know</li>
</ul>
<p><br class="blank" /><br />
Letting the compiler know about a variable is referred to</p>
<ul>
<li>“Declaring” the variable</li>
</ul>
<p><br class="blank" /><br />
The compiler will need two pieces of information concerning each variable</p>
<ul>
<li>The amount of space the variable will need</li>
<li>A name to recognize that variable</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/introduction/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ Output with cout</title>
		<link>http://www.bizzymicbizness.com/cplusplus/cplusplu-output-with-cout</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/cplusplu-output-with-cout#comments</comments>
		<pubDate>Wed, 26 Aug 2009 14:41:43 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Introduction to C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[cout]]></category>
		<category><![CDATA[Operator]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=89</guid>
		<description><![CDATA[Let’s look at how to display a message

The myfirst.cpp program (A-1)

Uses the following C++ statement (A-2):

The part enclosed within the double quotation marks is the message to print

In C++, any series of characters enclosed in double quotation marks is called a character string, presumably because it consists of several characters strung together into a larger [...]]]></description>
			<content:encoded><![CDATA[<p>Let’s look at how to display a message</p>
<ul>
<li>The <strong>myfirst.cpp</strong> program (A-1)</li>
<ul>
<li>Uses the following C++ statement (A-2):</li>
<ul>
<li>The part enclosed within the double quotation marks is the message to print
<ul>
<li>In C++, any series of characters enclosed in double quotation marks is called a <em>character string</em>, presumably because it consists of several characters strung together into a larger unit</li>
</ul>
<li>The <strong>&lt;&lt;</strong> notation indicates that the statement is sending the string to <strong>cout</strong>; the symbols point the way the information flows</li>
<li>And what is <strong>cout</strong>?
<ul>
<li> It’s a predefined object that knows how to display a variety of things, including strings, numbers, and individual characters
<ul>
<li>(An object is a particular instance of a class, and a class defines how data is stored and used.)</li>
</ul>
</ul>
</li>
</ul>
</li>
</ul>
</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;"><span style="color: #666666;">// myfirst.cpp--displays a message</span>
<span style="color: #339900;">#include &lt;iostream&gt;				// a PREPROCESSOR directive</span>
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>					<span style="color: #666666;">// function header</span>
<span style="color: #008000;">&#123;</span>						<span style="color: #666666;">// start of function body</span>
	<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span>			<span style="color: #666666;">// make definitions visible</span>
	<span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Come up and C++ me some time.&quot;</span><span style="color: #008080;">;</span>	<span style="color: #666666;">// message</span>
	<span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span>				<span style="color: #666666;">// start a new line</span>
	<span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;You won't regret it!&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span>	<span style="color: #666666;">// more output</span>
	<span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>					<span style="color: #666666;">// terminate main()</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>                <br />
<br class="blank" /><br />
Example of (A-2)</p>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Come up and C++ me some time.&quot;</span><span style="color: #008080;">;</span></pre></div></div>

<p><br class="blank" /><br />
Well, using objects so soon is a bit awkward because you won’t learn about objects for several more chapters</p>
<ul>
<li>Actually, this reveals one of the strengths of objects
<ul>
<li>You don’t have to know the innards of an object in order to use it
<ul>
<li>All you must know is its interface—that is, how to use it</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><br class="blank" /><br />
The <strong>cout</strong> object has a simple interface</p>
<ul>
<li>If <strong>string</strong> represents a <strong>string</strong>, you can do the following to display it (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: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> string<span style="color: #008080;">;</span></pre></div></div>

<p><br class="blank" /><br />
This is all you must know to display a string, but now take a look at how the C++ conceptual view represents the process</p>
<ul>
<li>In this view, the output is a stream—that is, a series of characters flowing from the program
<ul>
<li>The <strong>cout</strong> object, whose properties are defined in the <strong>iostream</strong> file, represents that stream
<ul>
<li>The object properties for <strong>cout</strong> include an insertion operator (<strong>&lt;&lt;</strong>) that inserts the information on its right into the stream</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><br class="blank" /><br />
Consider the following statement (note the terminating semicolon) (A-4)</p>
<ul>
<li>It inserts the string <strong>“Come up and C++ me some time.”</strong> into the output stream
<ul>
<li>Thus, rather than say that your program displays a message, you can say that it inserts a string into the output stream
<ul>
<li>Somehow, that sounds more impressive
<ul>
<li> See (Image-1)</li>
</ul>
</li>
</ul>
</li>
</ul>
</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: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Come up and C++ me some time.&quot;</span><span style="color: #008080;">;</span></pre></div></div>

<p><br class="blank" /><br />
(Image-1) Displaying a string by using <strong>cout</strong></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-754" title="Displaying a string by using cout" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/08/Displaying-a-string-by-using-cout.jpg" alt="Displaying a string by using cout" width="423" height="481" /></p>
<p><br class="blank" /><br />
<br class="blank" /></p>
<h2>A First Look at Operator Overloading</h2>
<p><br class="blank" /><br />
If you’re coming to C++ from C</p>
<ul>
<li>You probably noticed that the insertion operator (<strong>&lt;&lt;</strong>) looks just like the bitwise left-shift operator (<strong>&lt;&lt;</strong>)
<ul>
<li>This is an example of <em>operator overloading</em>, by which the same operator symbol can have different meanings
<ul>
<li>The compiler uses the context to figure out which meaning is intended</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><br class="blank" /><br />
C itself has some operator overloading</p>
<ul>
<li>For example, the <strong>&amp;</strong> symbol represents both the address operator and the bitwise <strong>AND</strong> operator
<ul>
<li>The <strong>*</strong> symbol represents both multiplication and dereferencing a pointer
<ul>
<li>The important point here is not the exact function of these operators but that the same symbol can have more than one meaning, with the compiler determining the proper meaning from the context
<ul>
<li>(You do much the same when you determine the meaning of “sound” in “sound card” versus “sound financial basis.”)</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><br class="blank" /><br />
C++ extends the operator overloading concept</p>
<ul>
<li>By letting you redefine operator meanings for the user-defined types called classes</li>
</ul>
<p><br class="blank" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/cplusplu-output-with-cout/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ Instructions</title>
		<link>http://www.bizzymicbizness.com/cplusplus/c-instructions</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/c-instructions#comments</comments>
		<pubDate>Wed, 26 Aug 2009 14:15:53 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Introduction to C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Function]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=77</guid>
		<description><![CDATA[C++ works by giving (separate) instructions to the computer

Instructions can be treated as assignments


Assignment will be…

Called a function


The primary function used in C++

Is called main


Function&#8217;s name is

Followed by an opening and a closing parentheses


Main function will always be written

At least as main()


When a program is written and you ask the computer to &#8220;execute&#8221; it, the [...]]]></description>
			<content:encoded><![CDATA[<p>C++ works by giving (separate) instructions to the computer</p>
<ul>
<li>Instructions can be treated as assignments</li>
</ul>
<p><br class="blank" /><br />
Assignment will be…</p>
<ul>
<li>Called a function</li>
</ul>
<p><br class="blank" /><br />
The primary function used in C++</p>
<ul>
<li>Is called <strong>main</strong></li>
</ul>
<p><br class="blank" /><br />
Function&#8217;s name is</p>
<ul>
<li>Followed by an opening and a closing parentheses</li>
</ul>
<p><br class="blank" /><br />
Main function will always be written</p>
<ul>
<li>At least as <strong>main()</strong></li>
</ul>
<p><br class="blank" /><br />
When a program is written and you ask the computer to &#8220;execute&#8221; it, the first thing to look for</p>
<ul>
<li>Is the <strong>main()</strong> function</li>
<ul>
<li>This means that every C++ program should have the <strong>main()</strong> function</li>
</ul>
</ul>
<p><br class="blank" /><br />
Function has</p>
<ul>
<li>A body; this is where the behavior (assignment) of the function would be &#8220;described&#8221;</li>
</ul>
<p> <br />
<br class="blank" /><br />
The body of a function</p>
<ul>
<li>Starts with an opening curly bracket &#8220;<strong>{</strong>&#8221; and closes with a closing curly bracket &#8220;<strong>}</strong>&#8220;</li>
<ul>
<li>Everything in the curly brackets belongs to, or is part of, the function</li>
</ul>
</ul>
<p><br class="blank" /><br />
The <strong>main()</strong> function can be written as (A-1):<br />
<br class="blank" /><br />
Example of (A-1)</p>
<ul>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span><span style="color: #008000;">&#125;</span></pre></div></div>

</ul>
<p><br class="blank" /><br />
Whenever you create a program</p>
<ul>
<li>It is important to isolate any inclusion of a library on its own line (A-2)</li>
</ul>
<p><br class="blank" /><br />
Example of (A-2)</p>
<ul>

<div class="syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;iostream&gt;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span>
main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span><span style="color: #008000;">&#125;</span></pre></div></div>

</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/c-instructions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Namespaces</title>
		<link>http://www.bizzymicbizness.com/cplusplus/introduction-to-namespaces</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/introduction-to-namespaces#comments</comments>
		<pubDate>Wed, 26 Aug 2009 13:12:01 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Introduction to C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[iostream]]></category>
		<category><![CDATA[Namespace]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=68</guid>
		<description><![CDATA[A namespace

A  section of code
Delimited and referred to using a specific name
Give a common name to that portion of code so that, when referring to it, only entities that are part of that section would referred to


A namespace is created to

Set apart a portion of code with the goal to reduce, otherwise eliminate, confusion


How to [...]]]></description>
			<content:encoded><![CDATA[<p>A namespace</p>
<ul>
<li>A  section of code</li>
<li>Delimited and referred to using a specific name</li>
<li>Give a common name to that portion of code so that, when referring to it, only entities that are part of that section would referred to</li>
</ul>
<p><br class="blank" /><br />
A namespace is created to</p>
<ul>
<li>Set apart a portion of code with the goal to reduce, otherwise eliminate, confusion</li>
</ul>
<p><br class="blank" /><br />
How to use namespace</p>
<ul>
<li>Type the <strong>using</strong> <strong>namespace</strong> expression followed by the name of the namespace and a semi-colon (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;"><span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> thebasic<span style="color: #008080;">;</span></pre></div></div>

<p><br class="blank" /><br />
One of the namespaces used in C++</p>
<ul>
<li>Is called <strong>std</strong> (A-2)
<ul>
<li>After typing this, any part of the namespace becomes available to you</li>
</ul>
</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;"><span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span></pre></div></div>

<p><br class="blank" /><br />
The <strong>iostream</strong> library</p>
<ul>
<li>Is part of the <strong>std</strong> namespace
<ul>
<li>When you use it, you don&#8217;t need to include the extended of the <strong>iostream</strong> file</li>
</ul>
</li>
</ul>
<p><br class="blank" /><br />
You can start your program with (A-3):<br />
<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 &lt;iostream&gt;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span></pre></div></div>

<p><br class="blank" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/introduction-to-namespaces/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>

