<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://prime357.net">
<channel>
 <title>Prime 357</title>
 <link>http://prime357.net</link>
 <description />
 <language>en</language>
<image><url>http://www.feedburner.com/fb/images/pub/fb_pwrd.gif</url></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/prime357-all" type="application/rss+xml" /><item>
 <title>Can download - no user account necessary</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/426876582/134</link>
 <description>&lt;p&gt;There's a slight change to the downloading procedure.   No longer is it necessary to create a user account simply to download any file.   Download to your heart's content.   &lt;/p&gt;
&lt;p&gt;At this stage, in order to leave comments or seek advice then a user account is necessary.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=JJCOM"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=JJCOM" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=tBkbM"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=tBkbM" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/426876582" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/134#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/84">user accouts</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Mon, 20 Oct 2008 22:47:02 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">134 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/134</feedburner:origLink></item>
<item>
 <title>Wordpress 2.6</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/379492770/131</link>
 <description>&lt;p&gt;Wordpress 2.6 is out, as of a few weeks ago.   I've briefly checked the relevant tables and fields against Wordpress 2.5 and there is no significant difference.   This means the current version, 1.04, will convert Wordpress 2.6 blogs.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=DuAzxK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=DuAzxK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=ZmL3FK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=ZmL3FK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/379492770" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/131#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/83">Wordpress 2.6</category>
 <category domain="http://prime357.net/taxonomy/term/30">News</category>
 <pubDate>Sun, 31 Aug 2008 07:44:04 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">131 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/131</feedburner:origLink></item>
<item>
 <title>Server to Server</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/378914387/130</link>
 <description>&lt;p&gt;As already mentioned, SmartFTP has a feature known as 'server to server' which basically means being able to transfer files from one server directly to another server.&lt;/p&gt;
&lt;p&gt;Fire up SmartFTP and log into both servers, that is, the source (where your getting your files from) server and your destination (where the files are going) server.   I'm not detailing every click required to achieve this.&lt;/p&gt;
&lt;p&gt;With the program there are a number of ways to achieve the one process, as is the case with any modern software.   I'll detail the menu way.&lt;/p&gt;
&lt;p&gt;Open the files listed in the source server panel and drag and drop the relevant folder into the lower 'temporary queue' panel.&lt;/p&gt;
&lt;p&gt;&lt;a href="/sites/prime357.org/files/attachments/purpose/changinghosts/image-0148.jpg" target="_blank"&gt;&lt;img src="/sites/prime357.org/files/attachments/purpose/changinghosts/image-0148-500.jpg" width="500" height="369" alt="SmartFTP screen shot" img /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/130" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=uj478K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=uj478K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=3FS7YK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=3FS7YK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/378914387" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/130#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/82">ftp</category>
 <pubDate>Sat, 30 Aug 2008 13:22:38 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">130 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/130</feedburner:origLink></item>
<item>
 <title>45,000 Wordpress posts converted to Drupal</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186203/124</link>
 <description>&lt;p&gt;Okay, the title said 45,000 posts but in reality how does converting or transferring, call it what you want, 45,936 posts from Wordpress 2.5 to Drupal 5.8 sound.   I helped out a registered user &lt;a href="/user/109"&gt;HitBoy&lt;/a&gt; with the conversion, that is, I did it on my machine locally for him.   Before I go any further here's a screen-shot of the Analyse Wordpress section.   &lt;/p&gt;
&lt;p&gt;&lt;img src="/sites/prime357.org/files/attachments/users/user3/image-0124.jpg" width="431" height="345" alt="Screen shot - Analyse Wordpress" /&gt;&lt;/p&gt;
&lt;p&gt;I didn't specifically time the process but I reckon it was closer to the two hour mark than it was to the one hour mark, so transferring 45,000 posts is not a 5 minute process.   Obviously, if done using remote databases it would take a little longer.   How much longer, well I don't know and I'd only be guessing.&lt;/p&gt;
&lt;p&gt;&lt;a href="/user/109"&gt;HitBoy's&lt;/a&gt; going to make a follow-up entry in &lt;a href="/node/107"&gt;Check My Site&lt;/a&gt; thread and there he'll promote his site, so at least you can see that it is possible to convert massive amounts of data.&lt;/p&gt;
&lt;p&gt;During this process I was chatting to &lt;a href="/user/109"&gt;HitBoy&lt;/a&gt; about other things, as you do, and found out that he's starting a new venture, a hosting business.   If you're after some free (or paid) web-hosting why not check him out at  &lt;a href="http://www.opensourcesetup.com/" target="_blank"&gt;OpenSourceSetup&lt;/a&gt;.   His site went live yesterday (Monday 29 July, 2008).&lt;/p&gt;
&lt;p&gt;&lt;i&gt;The link I provided IS NOT an affiliate link and I do not benefit in any way.&lt;/i&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=bOS8vK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=bOS8vK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=jjfqlK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=jjfqlK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186203" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/124#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/16">Drupal 5.x</category>
 <pubDate>Tue, 29 Jul 2008 12:47:55 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">124 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/124</feedburner:origLink></item>
<item>
 <title>Reduce File Size</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186204/121</link>
 <description>&lt;p&gt;At your old host, access phpMyAdmin, you're going to prepare for the backup procedure.&lt;/p&gt;
&lt;p&gt;&lt;img src="/sites/prime357.org/files/attachments/purpose/changinghosts/image-0096x500.jpg" width="500" height="129" alt="Screen shot - MyPhpAdmin" /&gt;&lt;/p&gt;
&lt;p&gt;Since a download and an eventual upload is required, you may want to reduce the size of the backed-up sql file.   This step is not overly necessary and can be skipped if you prefer.   &lt;/p&gt;
&lt;p&gt;Select the database to be backed-up and click the &lt;b&gt;Structure&lt;/b&gt; tab so as all the tables are listed in the main window.   In order to reduce the eventual file size certain tables can be emptied, that is, all the records deleted, not the table itself.   The tables that can be emptied are:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/121" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=jRDJHK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=jRDJHK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=G9EvdK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=G9EvdK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186204" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/121#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/81">drupal</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <pubDate>Tue, 08 Jul 2008 06:32:24 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">121 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/121</feedburner:origLink></item>
<item>
 <title>FTP Accounts</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186205/120</link>
 <description>&lt;p&gt;A tool that you will definitely need is a File Transfer Protocol ("FTP") client program.   These programs are more or less explorer type programs in which files can be uploaded and downloaded from the server.&lt;/p&gt;
&lt;p&gt;There are a number of freely available FTP client programs and here are a few:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.smartftp.com/"&gt;Smart FTP&lt;/a&gt; (31 Aug, 2008, no longer free)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://filezilla-project.org/"&gt;Filezilla&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.coreftp.com/"&gt;Core FTP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://cyberduck.ch/"&gt;Cyberduck (for Mac)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.google.com/search?sourceid=gmail&amp;amp;q=ftp%20free%20client"&gt;Google Search Results&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In order to utilise an FTP client you must first set-up FTP accounts at your host.   I'm assuming that this particular process doesn't require detailed explanation as most likely you would have been using an FTP client at your old host.   Suffice to say, that at my host, when creating the addon domain names corresponding FTP accounts were created as well.   If this is not the case with your host, simply follow the prompts to create an FTP account(s).   Even if automatic and default FTP accounts were created I'd recommend purposely creating an FTP account that purposely points to a specified folder.   That folder's sole purpose being to receive uploaded files.   Once uploaded, they can be moved to where ever you want.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/120" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=WKg2pK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=WKg2pK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=CesY5K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=CesY5K" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186205" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/120#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/81">drupal</category>
 <category domain="http://prime357.net/taxonomy/term/82">ftp</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <pubDate>Tue, 08 Jul 2008 04:08:37 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">120 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/120</feedburner:origLink></item>
<item>
 <title>Addon Domain(s)</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186206/119</link>
 <description>&lt;p&gt;As seems to be the case these days most hosts are offering one free domain for your use.   Obviously, if you are transferring from another host you already have a domain name registered and you will eventually be changing the nameservers at your domain registrar to point to your new domain.   Don't do it now, that is the last step.&lt;/p&gt;
&lt;p&gt;In regards to the 'free domain name' accept the offer and use that domain name purely for administrative purposes.   I recommend not using the free domain name for public purposes.   It's not a good idea for your host to also be your domain registrar (they will be for the free domain name), it only leads to problems down the track should there be any issues with your host.   Effectively, your host could hold you to ransom as they hold the key, the domain name registration.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/119" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=qK6RRK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=qK6RRK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=pheMwK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=pheMwK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186206" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/119#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/81">drupal</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <pubDate>Tue, 08 Jul 2008 02:15:42 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">119 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/119</feedburner:origLink></item>
<item>
 <title>Import SQL file into new database</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186207/118</link>
 <description>&lt;p&gt;You should now have an SQL file, which is your backup database file, safely stored away in your computer.   The next step is to transfer the contents of that file into a new database at your new host.&lt;/p&gt;
&lt;p&gt;Firstly, access you new host, navigate to the cpanel pages, then to the database section and follow the prompts to create a new MySql database.   Obviously, remember the database name and user name for later reference.&lt;/p&gt;
&lt;p&gt;Once created, access phpMyAdmin and navigate to your newly created database.   In the example that follows I created a new database named, "newdrupaldb".  You will notice that there are no tables created as yet, that is what the following process will do.   Click on the &lt;b&gt;Import&lt;/b&gt; tab and you should see a screen similar to the following.   &lt;i&gt;Click on image for a detailed view&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/sites/prime357.org/files/attachments/purpose/changinghosts/image-0100.jpg" target="_blank"&gt;&lt;img src="/sites/prime357.org/files/attachments/purpose/changinghosts/image-0100x500.jpg" width="500" height="221" alt="image-0100x500.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/118" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=l5G50K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=l5G50K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=4o8FmK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=4o8FmK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186207" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/118#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <category domain="http://prime357.net/taxonomy/term/13">MySql</category>
 <pubDate>Mon, 07 Jul 2008 11:35:30 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">118 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/118</feedburner:origLink></item>
<item>
 <title>Backup old host database(s)</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186208/117</link>
 <description>&lt;p&gt;At your old host, access phpMyAdmin, you're going to backup your database(s) which will ultimately be downloaded to your computer.&lt;/p&gt;
&lt;p&gt;&lt;img src="/sites/prime357.org/files/attachments/purpose/changinghosts/image-0096x500.jpg" width="500" height="129" alt="Screen shot - MyPhpAdmin" /&gt;&lt;/p&gt;
&lt;p&gt;Click the &lt;b&gt;Export&lt;/b&gt; tab and a screen similar to the following should be displayed &lt;i&gt;(click for larger image)&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/117" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=n5lPdK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=n5lPdK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=a1Bm5K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=a1Bm5K" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186208" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/117#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <category domain="http://prime357.net/taxonomy/term/13">MySql</category>
 <pubDate>Mon, 07 Jul 2008 08:30:48 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">117 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/117</feedburner:origLink></item>
<item>
 <title>Actual Processes Involved</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186217/116</link>
 <description>&lt;p&gt;Firstly, it goes without saying that you need access to your old host in order to carry out any of the following procedures.   If you haven't got access to your old host, then in a nutshell, you're stuffed.&lt;/p&gt;
&lt;p&gt;The following pages will show the processes and procedures required in order to transfer a Drupal system from one server to another.   The concepts though can be applied to any database driven application.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=58IYoK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=58IYoK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=CIjyeK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=CIjyeK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186217" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/116#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <category domain="http://prime357.net/taxonomy/term/13">MySql</category>
 <pubDate>Mon, 07 Jul 2008 08:20:52 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">116 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/116</feedburner:origLink></item>
<item>
 <title>Changing Hosts - a Dummies Guide</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186218/115</link>
 <description>&lt;p&gt;So you've been with a host for a number of months or years and now it's time to change for whatever reason.&lt;/p&gt;
&lt;p&gt;The following is a guide as to the smoothest process possible.   There are many steps involved and over the next few weeks I'll add various pages and update where necessary.   I'll attempt to include as many screen shots as possible and in that regard I'll be basing everything on using cpanel and MySql.   For those not using these tools I'm hoping it should be clear enough in order to translate the information to your tools of choice.   The concepts will be the same regardless.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=1WO9WK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=1WO9WK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=Gv3lCK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=Gv3lCK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186218" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/115#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/81">drupal</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <pubDate>Mon, 07 Jul 2008 07:23:18 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">115 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/115</feedburner:origLink></item>
<item>
 <title>Code - replace html entities with symbols</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186219/113</link>
 <description>&lt;p&gt;As a result of an enquiry from &lt;a href="/node/96#comment-118"&gt;this forum post&lt;/a&gt; I followed up with a very quick &lt;a href="/node/96#comment-119"&gt;"pseudo code"&lt;/a&gt; version of how to strip HTML entities from code and replace them with their corresponding symbols.&lt;/p&gt;
&lt;p&gt;The Drupal Aggregator module also suffers from the fact that post titles are not HTML rendered.   Even though the following code is not PHP but rather Realbasic I'm sure any skilled PHP developer should be able to convert/translate to PHP.&lt;/p&gt;
&lt;p&gt;Without further ado, here's the code.&lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-blitzbasic" style="font-family: monospace;"&gt;&lt;span style="color: #0000ff;"&gt;Function&lt;/span&gt; Convert_Html_Code_To_Symbol&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr as &lt;span style="color: #000066; font-weight: bold;"&gt;string&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt; As &lt;span style="color: #000066; font-weight: bold;"&gt;string&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; // Version &lt;span style="color: #CC0000;"&gt;1.04&lt;/span&gt; - &lt;span style="color: #CC0000;"&gt;2&lt;/span&gt; Jun &lt;span style="color: #CC0000;"&gt;2008&lt;/span&gt;.&lt;br /&gt;
&amp;nbsp; // Converts raw &lt;span style="color: #0000ff;"&gt;text&lt;/span&gt;, containing html symbol codes such as &lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;&amp;amp;quot&lt;span style="color: #D9D100; font-style: italic;"&gt;; &amp;amp;amp;) to their numerical equivalents (&amp;quot; &amp;amp;)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; // The numerical codes are retrieved from 'charactercodes.txt' &lt;span style="color: #0000ff;"&gt;text&lt;/span&gt; file in same directory as this program.&lt;br /&gt;
&amp;nbsp; // &lt;span style="color: #0000ff;"&gt;After&lt;/span&gt; codes changed &lt;span style="color: #000066; font-weight: bold;"&gt;to&lt;/span&gt; numerical codes &lt;span style="color: #000066; font-weight: bold;"&gt;then&lt;/span&gt; the &lt;span style="color: #000066; font-weight: bold;"&gt;string&lt;/span&gt; can be run through the RegEx converter, changing &lt;span style="color: #000066; font-weight: bold;"&gt;to&lt;/span&gt; symbols.&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; intPos as Integer&lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; intAmp as integer&lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; intSemiColon as integer&lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; intLen as Integer&lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; strKey as &lt;span style="color: #000066; font-weight: bold;"&gt;string&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; strReplace as &lt;span style="color: #000066; font-weight: bold;"&gt;string&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; strDone as &lt;span style="color: #000066; font-weight: bold;"&gt;string&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;span style="color: #0000ff;"&gt;Dim&lt;/span&gt; x as Integer
&lt;p&gt;&amp;nbsp; intLen = &lt;span style="color: #0000ff;"&gt;len&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; intAmp = &lt;span style="color: #0000ff;"&gt;instr&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr, &lt;span style="color: #009900;"&gt;&amp;quot;;&amp;quot;&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;span style="color: #000066; font-weight: bold;"&gt;While&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;len&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt; &amp;gt; &lt;span style="color: #CC0000;"&gt;0&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; intPos = &lt;span style="color: #0000ff;"&gt;instr&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr, &lt;span style="color: #009900;"&gt;&amp;quot;&amp;amp;&amp;quot;&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt; intPos = &lt;span style="color: #CC0000;"&gt;0&lt;/span&gt; &lt;span style="color: #000066; font-weight: bold;"&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; strDone = strDone + pStr&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; pStr = &lt;span style="color: #009900;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;exit&lt;/span&gt; &lt;span style="color: #000066; font-weight: bold;"&gt;while&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #000066; font-weight: bold;"&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt; intPos &amp;gt; &lt;span style="color: #CC0000;"&gt;1&lt;/span&gt; &lt;span style="color: #000066; font-weight: bold;"&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strDone = strDone + &lt;span style="color: #0000ff;"&gt;left&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr,intPos - &lt;span style="color: #CC0000;"&gt;1&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pStr = &lt;span style="color: #0000ff;"&gt;right&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr,&lt;span style="color: #0000ff;"&gt;len&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#40;&lt;/span&gt;pStr&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt; - intPos &lt;span style="color: #CC0000;"&gt;+1&lt;/span&gt;&lt;span style="color: #000066;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #000066; font-weight: bold;"&gt;end&lt;/span&gt; &lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/113" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=bsWXlK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=bsWXlK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=6i935K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=6i935K" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186219" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/113#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/9">PHP</category>
 <category domain="http://prime357.net/taxonomy/term/10">RealBasic</category>
 <category domain="http://prime357.net/taxonomy/term/80">code</category>
 <pubDate>Wed, 25 Jun 2008 06:04:57 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">113 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/113</feedburner:origLink></item>
<item>
 <title>Looking for Contributors</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186220/108</link>
 <description>&lt;p&gt;I know from the behind-the-scenes statistics that the C++ content is attracting a lot of traffic and return users, more so than the Wordpress to Drupal converter software.   Casually glancing at the figures, I'd say half or thereabouts of the C++ traffic is from educational institutions.&lt;/p&gt;
&lt;p&gt;The existing content serves a purpose and clearly explains (my opinion) the topic at hand, which is important when learning C++.   Unfortunately, I'm unable to keep the content ticking over at a steady pace and therefore I'm looking for contributors.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/108" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=uFrWxK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=uFrWxK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=AaPKUK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=AaPKUK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186220" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/108#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/79">contributor</category>
 <pubDate>Wed, 18 Jun 2008 04:57:42 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">108 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/108</feedburner:origLink></item>
<item>
 <title>Check my site</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186221/107</link>
 <description>&lt;p&gt;So, you've converted your site to Drupal, why not let everyone know how it went.   Did it go smoothly, did you convert locally or remotely, which version and operating system involved and the number of posts, users etc.   Oh, and by all means link to your new site.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=w8ATFK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=w8ATFK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=8pw2ZK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=8pw2ZK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186221" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/107#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/58">Wordpress to Drupal</category>
 <pubDate>Wed, 18 Jun 2008 02:00:46 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">107 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/107</feedburner:origLink></item>
<item>
 <title>Change of Focus</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186222/106</link>
 <description>&lt;p&gt;Change of focus as regards IT Self Study.   I haven't touched C++ since the start of April, this year, but have every intention of finishing the book.   No doubt I will have to cover some old ground just to come up to speed again, if anything, that's the frustrating part.&lt;/p&gt;
&lt;p&gt;The question is why I haven't continued with the self-study.   At the start of April I got involved with creating this site and then shortly after that decided to update my Realbasic application that converts &lt;a href="http://wordpress.org"&gt;Wordpress&lt;/a&gt; Blogs to &lt;a href="http://drupal.org"&gt;Drupal&lt;/a&gt;.   The whole point I was learing C++, leading towards the GUI aspect, is that I could do away with Realbasic and not be held ransom to their pricing structure.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://purebasic.com"&gt;&lt;img src="/sites/prime357.org/files/attachments/purpose/logolinks/logo-pb-250x69.jpg" width="250" height="69" alt="Image - PureBasic" style="float:left; margin-right:10px" /img&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The change comes as of a few hours ago I ordered my copy of &lt;a href="http://purebasic.com"&gt;PureBasic&lt;/a&gt;.   This software package is attractively priced and better still, the price covers all future upgrades.   Better still, yet again, I have access to the Windows, Linux, Mac and Amiga versions.&lt;/p&gt;
&lt;p&gt;This version of basic is implemented slightly differently than Realbasic and Visual Basic so there will be a slight incline of a learning curve to come to grips with the basics.   From what I've read thus far it shouldn't be that difficult.&lt;/p&gt;
&lt;p&gt;I've also got &lt;a href="http://www.ruby-lang.org/en/"&gt;Ruby&lt;/a&gt; waiting in the wings but I've got a feeling it'll be waiting there for a while.&lt;/p&gt;
&lt;p&gt;As of tomorrow, I'll go searching for some tutorials, get use to some of the basics and then, maybe within a week, start to the process of converting my Realbasic Wordpress to Drupal converter to Purebasic.   That process will be part of the learning experience, so it will take time.   That's not to say that I won't stop any Realbasic development.   If a bug is found, I'll fix it and release a new version.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=MXt3MK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=MXt3MK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=91gh7K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=91gh7K" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186222" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/106#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/78">PureBasic</category>
 <category domain="http://prime357.net/taxonomy/term/10">RealBasic</category>
 <category domain="http://prime357.net/taxonomy/term/53">study</category>
 <pubDate>Tue, 17 Jun 2008 12:50:57 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">106 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/106</feedburner:origLink></item>
<item>
 <title>Version 1.04 - available for download</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186223/104</link>
 <description>&lt;p&gt;Version 1.04 of the Wordpress 2.5 to Drupal 5.x/6.x converter has been released and available for download from &lt;a href="/node/58"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For details regarding what's new in this release check &lt;a href="/node/103"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;By all means for any suggestions, comments or questions &lt;a href="/forum/58"&gt;here&lt;/a&gt; is a good start.&lt;/p&gt;
&lt;p&gt;Enjoy.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=7RIR1K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=7RIR1K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=QGUFvK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=QGUFvK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186223" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/104#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/16">Drupal 5.x</category>
 <category domain="http://prime357.net/taxonomy/term/74">Drupal 6.x</category>
 <category domain="http://prime357.net/taxonomy/term/57">Wordpress 2.5</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Thu, 12 Jun 2008 13:07:44 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">104 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/104</feedburner:origLink></item>
<item>
 <title>Version 1.04 - What's in it</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186224/100</link>
 <description>&lt;p&gt;The next version (1.04) of the converter will be out soon.   This will include some bug fixes and slightly improved progress meter.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;The bug fixes are:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Titles of posts now correctly display symbols whereas as before html code appeared in lieu of the symbol eg. &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;&amp;amp;pound;&lt;/code&gt;&lt;/span&gt; appeared instead of the symbol &lt;b&gt;&amp;pound;&lt;/b&gt; and so on.&lt;/li&gt;
&lt;li&gt;The same process, as above, is applied to the user name of the comments table.&lt;/li&gt;
&lt;li&gt;Included additional option, the setting of the filter format for comments.&lt;/li&gt;
&lt;li&gt;Corrected the category hierarchy, under certain conditions sub-categories were not being recorded accurately.  This has been addressed.&lt;/li&gt;
&lt;li&gt;Comment headings to be created, first four or five words of the comment to be the comment heading.&lt;/li&gt;
&lt;li&gt;Not that this will be overly noticeable, but the thread field of the comments table is now correctly populated with Base 36 (Vancode) numbers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Improved Progress Window&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Created two additional progress bars to the Importing Progress Window.   Included now are progress bars relating to comments per post and the assigning of categories to posts.   All bars should tick over at a constant rate, at least the user knows something is happening.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Status&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The only bug fix left at this stage pertains to the the comment heading aspect.   Hopefully that will be addressed within the next few days, when done, I'll upload.&lt;/p&gt;
&lt;p&gt;By all means report all problems or issues &lt;a href="/forum/58"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=pQERVK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=pQERVK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=Lgo4yK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=Lgo4yK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186224" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/100#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/14">converter</category>
 <category domain="http://prime357.net/taxonomy/term/16">Drupal 5.x</category>
 <category domain="http://prime357.net/taxonomy/term/74">Drupal 6.x</category>
 <category domain="http://prime357.net/taxonomy/term/57">Wordpress 2.5</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Sun, 08 Jun 2008 14:57:21 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">100 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/100</feedburner:origLink></item>
<item>
 <title>OpenID is now here</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186225/97</link>
 <description>&lt;p&gt;&lt;a href="http://openid.net/"&gt;&lt;br /&gt;
&lt;img style="float:left; margin-right:10px;margin-top: 10px;margin-bottom: 10px;" src="/sites/prime357.org/files/attachments/purpose/logolinks/logo-openid-300x90.jpg" width="299" height="91" alt="Image - OpenID" float="left" /&gt;&lt;/a&gt;   This site is now an OpenID enabled site.  What this means is that in order to post comments, download files, create forum posts etc. a login is still required but that is achieved through your OpenID account.   This also bypasses the email registration process as you are instantly verified with your OpenID.&lt;/p&gt;
&lt;p&gt;For further information here &lt;a href="http://openid.net/"&gt;is your starting point&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For user's that have already created accounts and want to login with their OpenID it will be easier to login as per normal and edit your account details.   There is now an OpenID tab, simply enter your OpenID.   Next time logging in, just use your OpenID.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=SifeoK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=SifeoK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=mBc9xK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=mBc9xK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186225" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/97#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/77">Logon</category>
 <category domain="http://prime357.net/taxonomy/term/76">OpenID</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Wed, 28 May 2008 13:20:39 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">97 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/97</feedburner:origLink></item>
<item>
 <title>1.03</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186226/95</link>
 <description>&lt;p&gt;As promised the Wordpress to Drupal 6.x converter (Version 1.03) is now available for &lt;a href="/node/58"&gt;download&lt;/a&gt;.  &lt;/p&gt;
&lt;p&gt;What's new.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Conversion to 5.x and 6.x&lt;/li&gt;
&lt;li&gt;Filter Formats specifically retrieved from Drupal&lt;/li&gt;
&lt;li&gt;More flexibility re - Content types, Promote to Front page and published&lt;/li&gt;
&lt;li&gt;Teasers created re - &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;&amp;lt;!--More--&amp;gt;&lt;/code&gt;&lt;/span&gt; tag&lt;/li&gt;
&lt;li&gt;More thorough snapshot of the Wordpress database&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For full details see &lt;a href="/node/63"&gt;the manual&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=yAFH9K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=yAFH9K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=Im5oIK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=Im5oIK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186226" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/95#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/16">Drupal 5.x</category>
 <category domain="http://prime357.net/taxonomy/term/74">Drupal 6.x</category>
 <category domain="http://prime357.net/taxonomy/term/57">Wordpress 2.5</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Tue, 27 May 2008 08:10:29 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">95 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/95</feedburner:origLink></item>
<item>
 <title>Note to self</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186227/91</link>
 <description>&lt;p&gt;This falls into the category of 'Note to self'.   I use Google Applications (Gmail system) to administer my email but using my domain name "essaytee.com"   From that account I can send and receive email from my other domains.&lt;/p&gt;
&lt;p&gt;Lately, my email activity died a little, wasn't getting as many as usual and definitely none from my running website (&lt;a href="http://superjacent.net" title="http://superjacent.net"&gt;http://superjacent.net&lt;/a&gt;).   I receive emails when comments are left.   Well, comments have been left and yet no emails.   Checked the site out, everything was configured as it should be.&lt;/p&gt;
&lt;p&gt;As a last resort I logged into cpanel and walla, all email for superjacent.net was being diverted to the blackhole and no forwarding in place.   Initially I swore that I set things up correctly the first time.&lt;/p&gt;
&lt;p&gt;Back to my email account and I listed all emails pertinent to superjacent.net and the last one received was on 14 May, six days ago.   Then it dawned on me.   Six days ago I fiddled with superjacent.net domain, had to delete it and re-add so as I could point it to another document root.   What I was doing was putting the running site back to the root of superjacent.net rather than a sub-directory.   Obviously, when I deleted the domain name it also deleted the email settings as well.&lt;/p&gt;
&lt;p&gt;Something to remember for next time.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=GT8QbK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=GT8QbK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=kwOKEK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=kwOKEK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186227" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/91#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/73">domain</category>
 <category domain="http://prime357.net/taxonomy/term/72">email</category>
 <pubDate>Mon, 19 May 2008 11:57:54 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">91 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/91</feedburner:origLink></item>
<item>
 <title>On it's way</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186228/90</link>
 <description>&lt;p&gt;Wordpress 2.5 to Drupal 6.x, is about to be released.   It will be included in the next version, that being 1.03, which will also retain conversion to Drupal 5.x.   That is, there will be an option, convert to 5.x or 6.x.&lt;/p&gt;
&lt;p&gt;For feature requests by all means ask for them &lt;a href="/forum/58"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=XDQKyK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=XDQKyK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=Nry46K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=Nry46K" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186228" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/90#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/14">converter</category>
 <category domain="http://prime357.net/taxonomy/term/74">Drupal 6.x</category>
 <category domain="http://prime357.net/taxonomy/term/57">Wordpress 2.5</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Sun, 18 May 2008 06:51:36 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">90 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/90</feedburner:origLink></item>
<item>
 <title>Version 1.02 converter uploaded</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186229/87</link>
 <description>&lt;p&gt;The Wordpress to Drupal converter, version 1.02 is available for download.&lt;/p&gt;
&lt;p&gt;This latest version addresses a problem identified by user &lt;a href="/user/53"&gt;DeeZone&lt;/a&gt;.   Due to an oversight on my behalf (not correctly escaping SQL data relating to category names) created the false error code of duplicate category errors.&lt;/p&gt;
&lt;p&gt;As is always the case, solving this problem identified another problem relating to character encodings.   Wordpress data is now encoded as unicode (utf8), it was latin.   As of this version, the Wordpress database is treated as unicode, which solves some of the encoding problems.&lt;/p&gt;
&lt;p&gt;The &lt;a href="/node/63"&gt;manual&lt;/a&gt; will be updated shortly to reflect the changes.&lt;/p&gt;
&lt;p&gt;The program can be downloaded from &lt;a href="/node/58"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;All comments or suggestions via the &lt;a href="/forum/58"&gt;Wordpress to Drupal&lt;/a&gt; forum.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=emSZ8K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=emSZ8K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=XzkQTK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=XzkQTK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186229" height="1" width="1"/&gt;</description>
 <category domain="http://prime357.net/taxonomy/term/14">converter</category>
 <category domain="http://prime357.net/taxonomy/term/16">Drupal 5.x</category>
 <category domain="http://prime357.net/taxonomy/term/57">Wordpress 2.5</category>
 <category domain="http://prime357.net/taxonomy/term/31">Annoucement</category>
 <pubDate>Mon, 12 May 2008 14:58:13 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">87 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/87</feedburner:origLink></item>
<item>
 <title>So you want to change your hosting company</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186230/85</link>
 <description>&lt;p&gt;Well this is how I did it.   Firstly, you should have a valid reason for wanting to change as the process of transferring files and setting up with a new host can be a daunting process.   In my case I wasn't happy with my current host's performance.   In short, my web site(s) pages were taking far too long to load and outages were becoming all to common.   Who was the host I hear you ask?   Servage.net.   I've been with Servage since January 2007, so that's 16 months and still have about 5 or 6 months before renewal is due.&lt;/p&gt;
&lt;p&gt;Even with 5 or 6 months remaining I couldn't continue with the level of performance I was getting.   It was excruciating and something had to give; and it did.   I bit the bullet and researched other hosting companies.&lt;/p&gt;
&lt;p&gt;My first port of call were the various 'find a web host' type forums and I defy anybody to select a good host based solely on so-called independent reviews found in the threads of these forums.   What one can establish is that it's a cut-throat business, margins are low and they're all out there willing to empty our pockets.   I suppose that's called the marketplace.&lt;/p&gt;
&lt;p&gt;I made a decision early on that cost was not going to be the sole determining factor but cost is a factor none-the-less.   My whole research was based around shared hosting as dedicated servers were well and truly not within my budget, so in this regard, cost was an issue.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Short listing&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/85" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=xZfRpK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=xZfRpK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=kmXmfK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=kmXmfK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186230" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/85#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <pubDate>Thu, 08 May 2008 11:23:15 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">85 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/85</feedburner:origLink></item>
<item>
 <title>I've changed hosting companies</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186231/84</link>
 <description>&lt;p&gt;Not much content published over the last week or so and the reason being is that I've changed hosting companies.   Previously I was with Servage.net but it became apparent that I had to upgrade to a quicker system.   I'm now hosted by &lt;a href="http://www.drupalvaluehosting.com/members/aff.php?aff=064"&gt;Drupal Value Hosting&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It's no easy process changing hosting companies and I see it as two distinct phases:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Choosing a new host; and&lt;/li&gt;
&lt;li&gt;Process of changing over.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For both of these topics I'm going to write up some short articles explaining the processes I adopted.&lt;/p&gt;
&lt;p&gt;This site should now run consistently quicker than before and hopefully with not as many outages.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=01ca3K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=01ca3K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=z1zC7K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=z1zC7K" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186231" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/84#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/11">CMS</category>
 <category domain="http://prime357.net/taxonomy/term/70">hosting</category>
 <pubDate>Tue, 06 May 2008 12:56:07 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">84 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/84</feedburner:origLink></item>
<item>
 <title>Enhancement # 3 - Trap number followed by non numeric</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186232/83</link>
 <description>&lt;p&gt;As you know, the Asterisk Triangle Program has one remaining flaw and it's a flaw that should be addressed.&lt;/p&gt;
&lt;p&gt;Presently, if a user enters as input &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;50prime&lt;/code&gt;&lt;/span&gt; the number '50' is accepted as valid and the remaining 'prime' is ignored.   If a user enters as input &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;50.5&lt;/code&gt;&lt;/span&gt; the number '50' is accepted and the remaining '.5' is ignored.   Ideally we need to trap this and force a true integer to be entered.&lt;/p&gt;
&lt;p&gt;Replace this line of code&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;!&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; or &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;rows &amp;lt; &lt;span style="color: #0000dd;"&gt;1&lt;/span&gt; or rows &amp;gt; &lt;span style="color: #0000dd;"&gt;79&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;with this&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;!&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; or &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;rows &amp;lt; &lt;span style="color: #0000dd;"&gt;1&lt;/span&gt; or rows &amp;gt; &lt;span style="color: #0000dd;"&gt;79&lt;/span&gt; or &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;peek&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; != &lt;span style="color: #666666;"&gt;'&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You'll note that a third condition has been added to the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; statement.   That being &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.peek() != '\n'&lt;/code&gt;&lt;/span&gt;.   What this is saying is,&lt;/p&gt;
&lt;p&gt;&lt;i&gt;"if the next character in the input buffer is not a newline character".&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;We know that after the execution of &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin &amp;gt;&amp;gt; rows&lt;/code&gt;&lt;/span&gt; that if a true number was entered then all that is left in the input buffer is a newline ('\n') character.   The &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;peek()&lt;/code&gt;&lt;/span&gt; function merely checks for the next character in the input buffer.   It doesn't remove the character from the input buffer.   An entry such as '50prime' will cause the expression &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.peek() != '/n'&lt;/code&gt;&lt;/span&gt; to evaluate to true, as it detects the letter 'p', which in turn the body of the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; loop is entered.&lt;/p&gt;
&lt;p&gt;Here is the complete program code.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #ff0000;"&gt;// trianglerows-5.cpp&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #ff0000;"&gt;// 30 Apr, 2008.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #339900;"&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/83" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=OM8QZK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=OM8QZK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=S256WK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=S256WK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186232" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/83#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/59">cin</category>
 <category domain="http://prime357.net/taxonomy/term/63">get()</category>
 <category domain="http://prime357.net/taxonomy/term/69">peek()</category>
 <pubDate>Wed, 30 Apr 2008 05:58:33 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">83 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/83</feedburner:origLink></item>
<item>
 <title>Enhancement # 2 - Valid Input Range</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186233/82</link>
 <description>&lt;p&gt;To further enhance the asterisk triangle program the numeric input needs to be restricted to a certain value range.   Such a valid range would be 1 through 79.   Entering anything greater than 79 and all the visuals go out the window.&lt;/p&gt;
&lt;p&gt;Replace the entire &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; loop with the following &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; snippet.&lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt; &amp;nbsp; &amp;nbsp;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;!&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; or &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;rows &amp;lt; &lt;span style="color: #0000dd;"&gt;1&lt;/span&gt; or rows &amp;gt; &lt;span style="color: #0000dd;"&gt;79&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #000000;"&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;Must enter an integer (1 - 79): &amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;clear&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style="color: #ff0000;"&gt;// clear cin error state, if exists&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; != &lt;span style="color: #666666;"&gt;'&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;// clear out non newline characters&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #000000;"&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In reality, only the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; statement needed to be replaced as the nothing drastically needed to be changed in the body of the loop.   As you can see I did change the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cout&lt;/code&gt;&lt;/span&gt; statement to better inform a user of what is required, a number between 1 - 79.&lt;/p&gt;
&lt;p&gt;The &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; statement could have been written like so:&lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;!&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; || &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;rows &amp;lt; &lt;span style="color: #0000dd;"&gt;1&lt;/span&gt; || rows &amp;gt; &lt;span style="color: #0000dd;"&gt;79&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;||&lt;/code&gt;&lt;/span&gt; is the same as &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;or&lt;/code&gt;&lt;/span&gt; and, though not used in this example, &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;&amp;amp;&amp;amp;&lt;/code&gt;&lt;/span&gt; is the same as &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;and&lt;/code&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;You will note that the program now detects incorrect data entry, that is any data entry commencing with a non numeric and any numeric entry not falling within the range of 1 through 79.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/82" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=ZEmhKK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=ZEmhKK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=yZ6eqK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=yZ6eqK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186233" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/82#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/59">cin</category>
 <pubDate>Tue, 29 Apr 2008 09:49:00 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">82 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/82</feedburner:origLink></item>
<item>
 <title>Enhancement # 1 - Trap non numeric input</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186234/81</link>
 <description>&lt;p&gt;Okay, lets enhance the asterisk triangle program so that it only accepts numeric input.  That is, if a user types in a non numeric then the program should re-request correct input until  a number is entered.&lt;/p&gt;
&lt;p&gt;Remove these lines:&lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows;&lt;br /&gt;
&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;and replace with:&lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;!&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;// checking against cin fail state&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000000;"&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;Must enter an integer: &amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;clear&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style="color: #ff0000;"&gt;// reset error state back to false&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style="color: #ff0000;"&gt;// flush out next character&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000000;"&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;An understanding of the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; object is required for this snippet.   As the variable &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;rows&lt;/code&gt;&lt;/span&gt; is defined as an integer type, attempting to assign a non integer to this type will set the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; objects error flag to true.   The expression &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;(cin &amp;gt;&amp;gt; rows)&lt;/code&gt;&lt;/span&gt; returns a boolean value (true or false) relating to the error state of the expression.   We can include this error state as a conditional part of a &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; loop.   &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;while&lt;/code&gt;&lt;/span&gt; loops only continue whilst a condition is true and therefore in this instance we need to check for when not true which means false.   Confusing, I know.&lt;/p&gt;
&lt;p&gt;Compile and run the program.   Enter a single non numeric character.   You'll now note that the program asks you to input only an integer.   Entering an integer is the only way to exit the loop and continue through to the end.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/81" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=m1yu0K"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=m1yu0K" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=9T8mXK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=9T8mXK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186234" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/81#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/59">cin</category>
 <category domain="http://prime357.net/taxonomy/term/61">failbit</category>
 <category domain="http://prime357.net/taxonomy/term/63">get()</category>
 <pubDate>Tue, 29 Apr 2008 09:42:57 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">81 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/81</feedburner:origLink></item>
<item>
 <title>Create a triangle type pattern</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186235/80</link>
 <description>&lt;p&gt;Write a C++ program that asks the user to enter a number of rows to be printed.   It should then display for the first row one asterisk preceded by periods.   The second row should display two asterisks preceded by periods and so on until all the rows have been printed as entered by the user.&lt;/p&gt;
&lt;p&gt;A sample run would be like so: &lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-text" style="font-family: monospace;"&gt;Enter number of rows: 5&lt;br /&gt;
....*&lt;br /&gt;
...**&lt;br /&gt;
..***&lt;br /&gt;
.****&lt;br /&gt;
*****&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;I've seen many varied questions surrounding this particular problem.&lt;/p&gt;
&lt;p&gt;Here's a solution, firstly, just the logic of the code for clarity, not concerning ourselves with error trapping incorrect keyboard input.   The object is to understand the reasoning of the logic of addressing the problem at hand.&lt;/p&gt;
&lt;div class="geshifilter"&gt;
&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #ff0000;"&gt;// nestedloop.cpp&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #ff0000;"&gt;// 29 Nov, 2007.&lt;/span&gt;
&lt;p&gt;&lt;span style="color: #339900;"&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #0000ff;"&gt;using&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;namespace&lt;/span&gt; std;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; main&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000000;"&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; rows, c;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;Enter the number of rows: &amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; rows;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;for&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; r = &lt;span style="color: #0000dd;"&gt;1&lt;/span&gt;; r &amp;lt;= rows; r++&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #000000;"&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;for&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;c = &lt;span style="color: #0000dd;"&gt;1&lt;/span&gt;; c &amp;lt;= rows - r; c++&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;.&amp;quot;&lt;/span&gt;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;for&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;; c &amp;lt;= rows; c++&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;*&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #000000;"&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #ff0000;"&gt;// exit routine&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;...Press 'ENTER' key to EXIT...&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;return&lt;/span&gt; &lt;span style="color: #0000dd;"&gt;0&lt;/span&gt;;&lt;br /&gt;
&lt;span style="color: #000000;"&gt;&amp;#125;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Copy and paste the above into your compiler of choice, compile and run it.   As you can see, it works.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/80" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=eqvGCK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=eqvGCK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=IaPhOK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=IaPhOK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186235" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/80#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/67">for</category>
 <category domain="http://prime357.net/taxonomy/term/66">loop</category>
 <pubDate>Thu, 24 Apr 2008 09:49:09 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">80 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/80</feedburner:origLink></item>
<item>
 <title>cin.get (arrayname, size)</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186236/79</link>
 <description>&lt;p&gt;Here is another form of the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; use.   This form, &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.get(arrayname, size)&lt;/code&gt;&lt;/span&gt; is similar to &lt;a href="/node/78"&gt;&lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.getline(arrayname, size)&lt;/code&gt;&lt;/span&gt;&lt;/a&gt; discussed previously.   This form &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.get(arrayname, size)&lt;/code&gt;&lt;/span&gt; reads an entire line from the keyboard terminated by the 'ENTER' key BUT leaves the newline '\n' character in the input queue.   Why it does this I'm not sure and why have such a function which for all intents and purposes is the same as the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.getline(...)&lt;/code&gt;&lt;/span&gt; method, I'm not sure either.&lt;/p&gt;
&lt;h4&gt;Some things to be aware of&lt;/h4&gt;
&lt;p&gt;If there is an existing newline in the input buffer prior to calling &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.get(arrayname,20);&lt;/code&gt;&lt;/span&gt;, this form will not accept it, remember it leaves the newline character in the input buffer.   The point here is that an error state is created in the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; object; the failbit flag is set to true.   No further &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; operations are permitted whilst the error flag is set to true.   In order to remove the error flag this command &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.clear();&lt;/code&gt;&lt;/span&gt; is required.   It resets the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; error state back to false.&lt;/p&gt;
&lt;p&gt;The above is not applicable if the input buffer contains normal characters ending with a newline character prior to calling the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.get(arrayname, 20);&lt;/code&gt;&lt;/span&gt;.   What occurs in this instance is that the errant characters or characters already in the input buffer as a result of a previous &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; operation are assigned or allocated to the character array &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;arrayname&lt;/code&gt;&lt;/span&gt;.   The newline character is left in the input buffer. &lt;/p&gt;
&lt;p&gt;Another situation arises whereby the user types in more characters than is specified by the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;size&lt;/code&gt;&lt;/span&gt; parameter of the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; function.   No error state is recorded and the character array &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;arrayname&lt;/code&gt;&lt;/span&gt; only receives the number of specified characters.   The remaining characters are left in the input buffer.&lt;/p&gt;
&lt;p&gt;The following code snippet should explain the various workings of this topic.   The code, as is, will create an error state, simply uncomment the line after &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.get(line, 20);&lt;/code&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #ff0000;"&gt;// File : testcin3.cpp&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #ff0000;"&gt;// Author : Steven Taylor&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #ff0000;"&gt;// Date : 23 Apr 2008 &lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #339900;"&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #0000ff;"&gt;using&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;namespace&lt;/span&gt; std;&lt;br /&gt;
&lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; main&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000000;"&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;char&lt;/span&gt; getdata;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;Enter one character: &amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt; &amp;gt;&amp;gt; getdata;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;; &amp;nbsp; &lt;span style="color: #ff0000;"&gt;// clear out very next character (newline)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;char&lt;/span&gt; line&lt;span style="color: #000000;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;Enter a line of text 20 characters max: &amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;line,&lt;span style="color: #0000dd;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;Line of text entered : &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; line;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #ff0000;"&gt;//cin.get(); &amp;nbsp; &amp;nbsp; &amp;nbsp;// flush out the newline character&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;char&lt;/span&gt; line2&lt;span style="color: #000000;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;Enter another line of text 20 characters max: &amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;line2,&lt;span style="color: #0000dd;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;Second line of text entered : &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; line2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;Now at the end of the program&amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;First character of line[20] &amp;nbsp;: &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; line&lt;span style="color: #000000;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#93;&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot; character code is : &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;line&lt;span style="color: #000000;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#93;&lt;/span&gt; &amp;lt;&amp;lt; endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;First character of line2[20] : &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; line2&lt;span style="color: #000000;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#93;&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot; character code is : &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;line2&lt;span style="color: #000000;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#93;&lt;/span&gt;&amp;lt;&amp;lt; endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;if&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #0000ff;"&gt;eof&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt; cin.eof() == true&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt; cin.eof() == false&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;if&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;fail&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt; cin.fail() == true&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cout&lt;/span&gt; &amp;lt;&amp;lt; &lt;span style="color: #666666;"&gt;&amp;quot;&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt; cin.fail() == false&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #ff0000;"&gt;// exit routine&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;clear&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;; &lt;span style="color: #ff0000;"&gt;// only use this if there is potential for an error state.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; &lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt; != &lt;span style="color: #666666;"&gt;'&lt;span style="color: #666666; font-weight: bold;"&gt;\n&lt;/span&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;get&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style="color: #0000ff;"&gt;return&lt;/span&gt; &lt;span style="color: #0000dd;"&gt;0&lt;/span&gt;;&lt;br /&gt;
&lt;span style="color: #000000;"&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
As an aside, if there is no error state, issuing the command &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin.clear();&lt;/code&gt;&lt;/span&gt; has no side effects, that is, errors are not reported simply because no error exists to start with.    It's harmless.&lt;/p&gt;
&lt;p&gt;Play with the program.   You will note that if you input more than a single character for the first input, that it adversely affects the following &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; methods.   I'll deal with flushing the input stream/buffer/queue in a separate article but in the interim the exit routine should be a clue as to how to flush the input buffer.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=0I2MNK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=0I2MNK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=YEA1MK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=YEA1MK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186236" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/79#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/59">cin</category>
 <category domain="http://prime357.net/taxonomy/term/65">clear()</category>
 <category domain="http://prime357.net/taxonomy/term/61">failbit</category>
 <category domain="http://prime357.net/taxonomy/term/63">get()</category>
 <pubDate>Wed, 23 Apr 2008 02:29:04 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">79 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/79</feedburner:origLink></item>
<item>
 <title>cin.getline (arrayname, size);</title>
 <link>http://feeds.feedburner.com/~r/prime357-all/~3/367186237/78</link>
 <description>&lt;p&gt;So you want to read an entire line from the keyboard and not be bothered with &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin &amp;gt;&amp;gt; getdata;&lt;/code&gt;&lt;/span&gt; only reading the first word.   Then this form of the &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; object is for you.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;div class="geshifilter-cpp" style="font-family: monospace;"&gt;&lt;span style="color: #0000dd;"&gt;cin&lt;/span&gt;.&lt;span style="color: #00eeff;"&gt;getline&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;#40;&lt;/span&gt;arrayname, size&lt;span style="color: #000000;"&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;This form accepts an entire line entered from the keyboard terminated by the 'ENTER' key.   The newline character created by the 'ENTER' key is replaced by a null '\0' character (which is the terminating character required for character arrays).   As you can guess from the code snippet, the line of text is ultimately assigned to &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;arrayname&lt;/code&gt;&lt;/span&gt; variable, a character array, and only receives the number of characters specified by the second parameter, &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;size&lt;/code&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;If the number of characters entered is greater than the number specified by the second parameter &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;size&lt;/code&gt;&lt;/span&gt; the left-over characters remain in the input queue/stream.   Remember, the next &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; operation will retrieve either some or all of these characters depending upon the type of &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; operation that's applied.   If the number of characters is less than the parameter &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;size&lt;/code&gt;&lt;/span&gt; then the  input queue is effectively flushed and will not be a problem for the next &lt;span class="geshifilter"&gt;&lt;code class="geshifilter-text"&gt;cin&lt;/code&gt;&lt;/span&gt; operation.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://prime357.net/node/78" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=i4dDuK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=i4dDuK" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/prime357-all?a=50CpEK"&gt;&lt;img src="http://feeds.feedburner.com/~f/prime357-all?i=50CpEK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/prime357-all/~4/367186237" height="1" width="1"/&gt;</description>
 <comments>http://prime357.net/node/78#comments</comments>
 <category domain="http://prime357.net/taxonomy/term/8">C++</category>
 <category domain="http://prime357.net/taxonomy/term/59">cin</category>
 <category domain="http://prime357.net/taxonomy/term/63">get()</category>
 <category domain="http://prime357.net/taxonomy/term/64">getline()</category>
 <pubDate>Tue, 22 Apr 2008 13:29:02 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">78 at http://prime357.net</guid>
<feedburner:origLink>http://prime357.net/node/78</feedburner:origLink></item>
</channel>
</rss>
