<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:media="http://search.yahoo.com/mrss/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-1563359437557968490</atom:id><lastBuildDate>Thu, 15 Oct 2009 19:04:07 +0000</lastBuildDate><title>BCA Helper:Blogging Made Easy</title><description>Educational Section Moved To bcahelper.com. Now it is only for blogging tips and tricks.</description><link>http://bcahelper.blogspot.com/</link><managingEditor>noreply@blogger.com (Arafat)</managingEditor><generator>Blogger</generator><openSearch:totalResults>99</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><thespringbox:skin xmlns:thespringbox="http://www.thespringbox.com/dtds/thespringbox-1.0.dtd">http://feeds.feedburner.com/BcaHelper?format=skin</thespringbox:skin><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Education/Educational Technology</media:category><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BcaHelper" type="application/rss+xml" /><feedburner:emailServiceId>BcaHelper</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-1841144015731807302</guid><pubDate>Thu, 26 Feb 2009 05:30:00 +0000</pubDate><atom:updated>2009-02-26T11:02:50.087+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Annauncement</category><title>We Moved Our Educational Section</title><description>We moved our educational section to &lt;a href="http://bcahelper.com"&gt;bcahelper.com &lt;/a&gt;. Now this site only dedicated to blogger, mostly for beginner. Hope all trick and tips submitted here will help you lot.&lt;br /&gt;&lt;br /&gt;Thanks Arafat&lt;br /&gt;------------------------------------------------------&lt;br /&gt;&lt;b&gt;Find us on &lt;a href="http://bcahelper.com/"&gt;BCAHELPER.COM&lt;/a&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-1841144015731807302?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=z2d3eYhIUec:EkYBB9-_Nkk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=z2d3eYhIUec:EkYBB9-_Nkk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=z2d3eYhIUec:EkYBB9-_Nkk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=z2d3eYhIUec:EkYBB9-_Nkk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=z2d3eYhIUec:EkYBB9-_Nkk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=z2d3eYhIUec:EkYBB9-_Nkk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/z2d3eYhIUec/we-moved-our-educational-section.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2009/02/we-moved-our-educational-section.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-977767194189342580</guid><pubDate>Wed, 07 Jan 2009 03:28:00 +0000</pubDate><atom:updated>2009-01-07T09:04:52.942+05:30</atom:updated><title>We are moving on BCAHELPER.COM</title><description>&lt;span style="font-weight: bold;"&gt;We are moving on &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://bcahelper.com/"&gt;bcahelper.com&lt;/a&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;.Thanks for your excellent response which help me to create more professional site now. Though this not means this site going to be down. We will produce helpful topic here and will aim to produce only IGNOU BCA Syllabus related topic on our new site. The site is on beta phase, so you can't get your every answer but I try to produce all answer as much as possible for me.&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Arafat Hossain Piyada&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-977767194189342580?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Bq_s7g2oels:AKvkfDbrSAs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Bq_s7g2oels:AKvkfDbrSAs:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Bq_s7g2oels:AKvkfDbrSAs:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Bq_s7g2oels:AKvkfDbrSAs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Bq_s7g2oels:AKvkfDbrSAs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Bq_s7g2oels:AKvkfDbrSAs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/Bq_s7g2oels/we-are-moving-on-bcahelpercom.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2009/01/we-are-moving-on-bcahelpercom.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-861079326547731177</guid><pubDate>Sun, 04 Jan 2009 03:58:00 +0000</pubDate><atom:updated>2009-01-04T09:42:19.941+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Advertise</category><title>Advertise here</title><description>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Dear advertiser,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You may see we are selling 125x125 space on top of our sidebar. If you interested then please send me an email with following details on webmaster@piyadas-world.com.&lt;br /&gt;&lt;br /&gt;Your Name:&lt;br /&gt;Site &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Url&lt;/span&gt;:&lt;br /&gt;Image Link:&lt;br /&gt;How much time you want to show ads?:&lt;br /&gt;Your &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Paypal&lt;/span&gt; Transaction Number:&lt;br /&gt;Send Your Money To : arafathossain.piyada@gmail.com [&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;paypal&lt;/span&gt; only]&lt;br /&gt;&lt;br /&gt;*You can send money by Check or Draft if you sending money from India. Contact me for address details.&lt;br /&gt;&lt;br /&gt;[ This site is for Computer Students and New Blogger. You can target them. Your sell will increase rapidly with us. This site is a PR2 site. So Google know it's important, are you?]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Basic Charge is $10/month, Yearly Subscription is $100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thank You&lt;br /&gt;Arafat&lt;br /&gt;Admin&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-861079326547731177?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=LCiAZj9vymI:IxEZNV2mxec:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=LCiAZj9vymI:IxEZNV2mxec:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=LCiAZj9vymI:IxEZNV2mxec:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=LCiAZj9vymI:IxEZNV2mxec:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=LCiAZj9vymI:IxEZNV2mxec:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=LCiAZj9vymI:IxEZNV2mxec:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/LCiAZj9vymI/advertise-here.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2009/01/advertise-here.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-1393592291803451048</guid><pubDate>Sun, 04 Jan 2009 03:55:00 +0000</pubDate><atom:updated>2009-01-04T09:27:54.617+05:30</atom:updated><title>Template Change</title><description>You may look, I just change the template to make it more professional. What you think about it. Isn't it good? I actually trying to monetize this blog now. I have to pay my bill dude.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-1393592291803451048?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=o1ijzapPJeQ:vfbXTRosrsU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=o1ijzapPJeQ:vfbXTRosrsU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=o1ijzapPJeQ:vfbXTRosrsU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=o1ijzapPJeQ:vfbXTRosrsU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=o1ijzapPJeQ:vfbXTRosrsU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=o1ijzapPJeQ:vfbXTRosrsU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/o1ijzapPJeQ/template-change.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2009/01/template-change.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-4261739858506883030</guid><pubDate>Mon, 01 Dec 2008 14:51:00 +0000</pubDate><atom:updated>2008-12-01T20:23:58.784+05:30</atom:updated><title>Update are closed till 1st January 2009</title><description>This site updates are temporary closed due to IGNOU Exam. I will come with new updates after 1st January.&lt;br /&gt;&lt;br /&gt;Thank you,&lt;br /&gt;&lt;br /&gt;Arafat&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-4261739858506883030?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=stfGiHYuQ5w:-rbUfdRrirc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=stfGiHYuQ5w:-rbUfdRrirc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=stfGiHYuQ5w:-rbUfdRrirc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=stfGiHYuQ5w:-rbUfdRrirc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=stfGiHYuQ5w:-rbUfdRrirc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=stfGiHYuQ5w:-rbUfdRrirc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/stfGiHYuQ5w/update-are-closed-till-1st-january-2009.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/12/update-are-closed-till-1st-january-2009.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-2737257441276135879</guid><pubDate>Sat, 22 Nov 2008 02:33:00 +0000</pubDate><atom:updated>2009-01-04T12:29:16.804+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Language</category><title>Write a function to find length of a string?</title><description>&lt;div class="codeview"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/* A function to find length of a string */&lt;br /&gt;/* length of string does not included '\0' character */&lt;br /&gt;&lt;br /&gt;int length(char string[])&lt;br /&gt;{&lt;br /&gt; int i=0, len;&lt;br /&gt; while(string[i] !='\0')&lt;br /&gt;   ++i;&lt;br /&gt; if(i==0)&lt;br /&gt;  len=0;&lt;br /&gt; else&lt;br /&gt;  len=i;&lt;br /&gt; return(len);&lt;br /&gt;} /* End of function length */&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-2737257441276135879?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=EG6KN0HPaZY:7Jt4xuBR11s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=EG6KN0HPaZY:7Jt4xuBR11s:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=EG6KN0HPaZY:7Jt4xuBR11s:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=EG6KN0HPaZY:7Jt4xuBR11s:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=EG6KN0HPaZY:7Jt4xuBR11s:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=EG6KN0HPaZY:7Jt4xuBR11s:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/EG6KN0HPaZY/write-function-to-find-length-of-string.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/write-function-to-find-length-of-string.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-8411885633751270284</guid><pubDate>Sat, 22 Nov 2008 02:21:00 +0000</pubDate><atom:updated>2008-11-22T08:01:31.111+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Programme Grammar</category><title>Why Everyone Should Learn to Program?</title><description>&lt;span class="epigraph"&gt;&lt;div align="left"&gt; &lt;em&gt;And as imagination bodies forth&lt;br /&gt;The forms of things to unknown, and the poet's pen&lt;br /&gt;Turns them to shapes, and gives to airy nothing&lt;br /&gt;A local habitation and a name.&lt;br /&gt;&lt;/em&gt;       -- Shakespeare, &lt;em&gt;A Midsummer Night's Dream&lt;/em&gt; V(i) &lt;/div&gt; &lt;p&gt; &lt;/p&gt;  &lt;/span&gt;     &lt;p&gt; Our claim that everyone programs or should learn to program might appear strange considering that, at first glance, fewer and fewer people seem to program these days. Instead, the majority of people use application packages, which don't seem to require any programming.  Even programmers use ``program generators,'' packages that create programs from, say, business rules. So why should anyone learn to program?&lt;/p&gt; &lt;p&gt; The answer consists of two parts. First, it is indeed true that &lt;em&gt;traditional forms of programming&lt;/em&gt; are useful for just a few people. But, programming &lt;em&gt;as we the authors understand it&lt;/em&gt; is useful for everyone: the administrative secretary who uses spreadsheets as well as the high-tech programmer. In other words, we have a broader notion of programming in mind than the traditional one. We explain our notion in a moment. Second, we teach our idea of programming with a technology that is based on the principle of minimal intrusion. Hence our notion of programming teaches problem-analysis and problem-solving skills &lt;em&gt;without&lt;/em&gt; imposing the overhead of traditional programming notations and tools.&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p&gt; To get a better understanding of modern programming, take a closer look at spreadsheets, one of today's popular application packages. A user enters formulas into a spreadsheet. The formulas describe how a cell &lt;em&gt;A&lt;/em&gt; depends on another cell &lt;em&gt;B&lt;/em&gt;. Then, as the user enters a number into &lt;em&gt;B&lt;/em&gt;, the spreadsheet automatically calculates the contents of cell &lt;em&gt;A&lt;/em&gt;.  For complicated spreadsheets, a cell may depend on many other cells, not just one.&lt;/p&gt; &lt;p&gt; Other application packages require similar activities. Consider word processors and style sheets. A style sheet specifies how to create a (part of a) document from yet-to-be-determined words or sentences. When someone provides specific words and a style sheet, the word processor creates the document by replacing names in the style sheet with specific words. Similarly, someone who conducts a Web search may wish to specify what words to look for, what words should be next to each other, and what words should not occur in the page. In this case, the output depends on the search engine's cache of Web pages and the user's search expression.&lt;/p&gt; &lt;p&gt; Finally, using a program generator in many ways relies on the same skills as those necessary for application packages. A program generator creates a program in a traditional programming language, such as C++ or Java, from high-level descriptions, such as business rules or scientific laws. Such rules typically relate quantities, sales, and inventory records and thus specify computations. The other parts of the program, especially how it interacts with a user and how it stores data in the computer's disk, are generated with little or no human intervention. &lt;/p&gt; &lt;p&gt; All of these activities instruct some computer software to do something for us. Some use scientific notation, some may use stylized English, some use a concrete programming notation. All of them are some form of programming.  The essence of these activities boils down to two concepts:  &lt;/p&gt; &lt;ol&gt;&lt;li&gt; &lt;p&gt;relating one quantity to another quantity, and &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;evaluating a relationship by substituting values for names.  &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt; Indeed, the two concepts characterize programming at the lowest level, the computer's native language, and in a modern fashionable language such as Java. A program relates its inputs to outputs; and, when a program is used for specific inputs, the evaluation substitutes concrete values for names.&lt;/p&gt; &lt;p&gt; No one can predict what kind of application packages will exist five or ten years from now. But application packages will continue to require some form of programming. To prepare students for these kinds of programming activities, schools can either force them to study algebra, which is the mathematical foundation of programming, or expose them to some form of programming. Using modern programming languages and environments, schools can do the latter, they can do it effectively, and they can make algebra fun.&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-8411885633751270284?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=8L5EiWCmSk4:-iy2lyT2mWg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=8L5EiWCmSk4:-iy2lyT2mWg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=8L5EiWCmSk4:-iy2lyT2mWg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=8L5EiWCmSk4:-iy2lyT2mWg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=8L5EiWCmSk4:-iy2lyT2mWg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=8L5EiWCmSk4:-iy2lyT2mWg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/8L5EiWCmSk4/why-everyone-should-learn-to-program.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/why-everyone-should-learn-to-program.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-4555697638944757006</guid><pubDate>Sat, 22 Nov 2008 02:05:00 +0000</pubDate><atom:updated>2008-11-22T07:45:54.429+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">shell programming</category><title>Write a shell program to do a depth-first traversal of a directory tree.</title><description>#!/bin/sh&lt;br /&gt;&lt;br /&gt;doindent()&lt;br /&gt;{&lt;br /&gt;  # Do a small indent depending on how deep into the tree we are&lt;br /&gt;  # Depending on your environment, you may need to use&lt;br /&gt;  # echo "  \c" instead of&lt;br /&gt;  # echo -en "  "&lt;br /&gt;    j=0;&lt;br /&gt;    while [ "$j" -lt "$1" ]; do&lt;br /&gt;      echo -en "  "&lt;br /&gt;      j=`expr $j + 1`&lt;br /&gt;    done&lt;br /&gt;}&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;traverse()&lt;br /&gt;{&lt;br /&gt;  # Traverse a directory&lt;br /&gt;  indent="$2"&lt;br /&gt;&lt;br /&gt;  ls "$1" | while read i&lt;br /&gt;  do&lt;br /&gt;    doindent $2&lt;br /&gt;    if [ -d "$1/$i" ]; then&lt;br /&gt;      echo "Directory: $1/$i"&lt;br /&gt;      # Calling this as a subshell means that when the called&lt;br /&gt;      # function changes directory, it will not affect our&lt;br /&gt;      # current working directory&lt;br /&gt;      traverse "$1/$i" `expr $2 + 1`&lt;br /&gt;    else&lt;br /&gt;      echo "File: $1/$i"&lt;br /&gt;    fi&lt;br /&gt;  done&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if [ -z "$1" ]; then&lt;br /&gt;  traverse . 0&lt;br /&gt;else&lt;br /&gt;  traverse "$1" 0&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-4555697638944757006?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VErWT3NiDfg:DNJBT1WVE8o:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VErWT3NiDfg:DNJBT1WVE8o:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=VErWT3NiDfg:DNJBT1WVE8o:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VErWT3NiDfg:DNJBT1WVE8o:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VErWT3NiDfg:DNJBT1WVE8o:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=VErWT3NiDfg:DNJBT1WVE8o:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/VErWT3NiDfg/write-shell-program-to-do-depth-first.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/write-shell-program-to-do-depth-first.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-5241365776448638339</guid><pubDate>Sat, 22 Nov 2008 01:57:00 +0000</pubDate><atom:updated>2008-11-22T07:33:45.214+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++</category><title>What is data structure?Basic view of data structure in C++</title><description>A data structure is a group of data elements grouped together under one name. These data elements, known as &lt;i&gt;members&lt;/i&gt;, can have different types and different lengths. Data structures are declared in C++ using the following syntax:&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;div class="codeview"&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;struct structure_name {&lt;br /&gt;member_type1 member_name1;&lt;br /&gt;member_type2 member_name2;&lt;br /&gt;member_type3 member_name3;&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;} object_names;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;where &lt;tt&gt;structure_name&lt;/tt&gt; is a name for the structure type, &lt;tt&gt;object_name&lt;/tt&gt; can be a set of valid identifiers for objects that have the type of this structure. Within braces &lt;tt&gt;{ }&lt;/tt&gt; there is a list with the data members, each one is specified with a type and a valid identifier as its name.&lt;/p&gt;&lt;p&gt;The first thing we have to know is that a data structure creates a new type: Once a data structure is declared, a new type with the identifier specified as &lt;tt&gt;structure_name&lt;/tt&gt; is created and can be used in the rest of the program as if it was any other type. For example:&lt;br /&gt;&lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; product {&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; weight;&lt;br /&gt;&lt;span class="kw"&gt;float&lt;/span&gt; price;&lt;br /&gt;} ;&lt;br /&gt;&lt;br /&gt;product apple;&lt;br /&gt;product banana, melon;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;We have first declared a structure type called &lt;tt&gt;product&lt;/tt&gt; with two members: &lt;tt&gt;weight&lt;/tt&gt; and &lt;tt&gt;price&lt;/tt&gt;, each of a different fundamental type. We have then used this name of the structure type (&lt;tt&gt;product&lt;/tt&gt;) to declare three objects of that type: &lt;tt&gt;apple&lt;/tt&gt;, &lt;tt&gt;banana&lt;/tt&gt; and &lt;tt&gt;melon&lt;/tt&gt; as we would have done with any fundamental data type.&lt;/p&gt;&lt;p&gt;Once declared, &lt;tt&gt;product&lt;/tt&gt; has become a new valid type name like the fundamental ones &lt;tt&gt;int&lt;/tt&gt;, &lt;tt&gt;char&lt;/tt&gt; or &lt;tt&gt;short&lt;/tt&gt; and from that point on we are able to declare objects (variables) of this compound new type, like we have done with &lt;tt&gt;apple&lt;/tt&gt;, &lt;tt&gt;banana&lt;/tt&gt; and &lt;tt&gt;melon&lt;/tt&gt;.&lt;/p&gt;&lt;p&gt;Right at the end of the &lt;tt&gt;struct&lt;/tt&gt; declaration, and before the ending semicolon, we can use the optional field &lt;tt&gt;object_name&lt;/tt&gt; to directly declare objects of the structure type. For example, we can also declare the structure objects &lt;tt&gt;apple&lt;/tt&gt;, &lt;tt&gt;banana&lt;/tt&gt; and &lt;tt&gt;melon&lt;/tt&gt; at the moment we define the data structure type this way: &lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; product {&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; weight;&lt;br /&gt;&lt;span class="kw"&gt;float&lt;/span&gt; price;&lt;br /&gt;} apple, banana, melon;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;It is important to clearly differentiate between what is the structure type name, and what is an object (variable) that has this structure type. We can instantiate many objects (i.e. variables, like &lt;tt&gt;apple&lt;/tt&gt;, &lt;tt&gt;banana&lt;/tt&gt; and &lt;tt&gt;melon&lt;/tt&gt;) from a single structure type (&lt;tt&gt;product&lt;/tt&gt;).&lt;/p&gt;&lt;p&gt;Once we have declared our three objects of a determined structure type (&lt;tt&gt;apple&lt;/tt&gt;, &lt;tt&gt;banana&lt;/tt&gt; and &lt;tt&gt;melon&lt;/tt&gt;) we can operate directly with their members. To do that we use a dot (&lt;tt&gt;.&lt;/tt&gt;) inserted between the object name and the member name. For example, we could operate with any of these elements as if they were standard variables of their respective types: &lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;apple.weight&lt;br /&gt;apple.price&lt;br /&gt;banana.weight&lt;br /&gt;banana.price&lt;br /&gt;melon.weight&lt;br /&gt;melon.price&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Each one of these has the data type corresponding to the member they refer to: &lt;tt&gt;apple.weight&lt;/tt&gt;, &lt;tt&gt;banana.weight&lt;/tt&gt; and &lt;tt&gt;melon.weight&lt;/tt&gt; are of type &lt;tt&gt;int&lt;/tt&gt;, while &lt;tt&gt;apple.price&lt;/tt&gt;, &lt;tt&gt;banana.price&lt;/tt&gt; and &lt;tt&gt;melon.price&lt;/tt&gt; are of type &lt;tt&gt;float&lt;/tt&gt;.&lt;/p&gt;&lt;p&gt;Let's see a real example where you can see how a structure type can be used in the same way as fundamental types:&lt;/p&gt;&lt;table class="codebox"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="comm"&gt;// example about structures&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;string&gt;&lt;/string&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;sstream&gt;&lt;/sstream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kw"&gt;using&lt;/span&gt; &lt;span class="kw"&gt;namespace&lt;/span&gt; std;&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; movies_t {&lt;br /&gt;string title;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; year;&lt;br /&gt;} mine, yours;&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;void&lt;/span&gt; printmovie (movies_t movie);&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; main ()&lt;br /&gt;{&lt;br /&gt;string mystr;&lt;br /&gt;&lt;br /&gt;mine.title = &lt;span class="str"&gt;"2001 A Space Odyssey"&lt;/span&gt;;&lt;br /&gt;mine.year = 1968;&lt;br /&gt;&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"Enter title: "&lt;/span&gt;;&lt;br /&gt;getline (cin,yours.title);&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"Enter year: "&lt;/span&gt;;&lt;br /&gt;getline (cin,mystr);&lt;br /&gt;stringstream(mystr) &gt;&gt; yours.year;&lt;br /&gt;&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"My favorite movie is:\n "&lt;/span&gt;;&lt;br /&gt;printmovie (mine);&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"And yours is:\n "&lt;/span&gt;;&lt;br /&gt;printmovie (yours);&lt;br /&gt;&lt;span class="kw"&gt;return&lt;/span&gt; 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;void&lt;/span&gt; printmovie (movies_t movie)&lt;br /&gt;{&lt;br /&gt;cout &lt;&lt; class="str"&gt;" ("&lt;/span&gt; &lt;&lt; class="str"&gt;")\n";&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="result"&gt;&lt;pre&gt;Enter title: Alien&lt;br /&gt;Enter year: 1979&lt;br /&gt;&lt;br /&gt;My favorite movie is:&lt;br /&gt;2001 A Space Odyssey (1968)&lt;br /&gt;And yours is:&lt;br /&gt;Alien (1979)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;The example shows how we can use the members of an object as regular variables. For example, the member &lt;tt&gt;yours.year&lt;/tt&gt; is a valid variable of type &lt;tt&gt;int&lt;/tt&gt;, and &lt;tt&gt;mine.title&lt;/tt&gt; is a valid variable of type &lt;tt&gt;string&lt;/tt&gt;.&lt;/p&gt;&lt;p&gt;The objects &lt;tt&gt;mine&lt;/tt&gt; and &lt;tt&gt;yours&lt;/tt&gt; can also be treated as valid variables of type &lt;tt&gt;movies_t&lt;/tt&gt;, for example we have passed them to the function &lt;tt&gt;printmovie&lt;/tt&gt; as we would have done with regular variables. Therefore, one of the most important advantages of data structures is that we can either refer to their members individually or to the entire structure as a block with only one identifier.&lt;/p&gt;&lt;p&gt;Data structures are a feature that can be used to represent databases, especially if we consider the possibility of building arrays of them:&lt;/p&gt;&lt;table class="codebox"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="comm"&gt;// array of structures&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;string&gt;&lt;/string&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;sstream&gt;&lt;/sstream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kw"&gt;using&lt;/span&gt; &lt;span class="kw"&gt;namespace&lt;/span&gt; std;&lt;br /&gt;&lt;br /&gt;&lt;span class="prep"&gt;#define N_MOVIES 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; movies_t {&lt;br /&gt;string title;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; year;&lt;br /&gt;} films [N_MOVIES];&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;void&lt;/span&gt; printmovie (movies_t movie);&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; main ()&lt;br /&gt;{&lt;br /&gt;string mystr;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; n;&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;for&lt;/span&gt; (n=0; n&lt;n_movies; cout=""&gt;&lt;&lt; &lt;span class="str"&gt;"Enter title: "&lt;/span&gt;;&lt;br /&gt;  getline (cin,films[n].title);&lt;br /&gt;  cout &lt;&lt; &lt;span class="str"&gt;"Enter year: "&lt;/span&gt;;&lt;br /&gt;  getline (cin,mystr);&lt;br /&gt;  stringstream(mystr) &gt;&gt; films[n].year;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"\nYou have entered these movies:\n"&lt;/span&gt;;&lt;br /&gt;&lt;span class="kw"&gt;for&lt;/span&gt; (n=0; n&lt;n_movies; printmovie=""&gt;&lt;span class="kw"&gt;return&lt;/span&gt; 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;void&lt;/span&gt; printmovie (movies_t movie)&lt;br /&gt;{&lt;br /&gt;cout &lt;&lt; class="str"&gt;" ("&lt;/span&gt; &lt;&lt; class="str"&gt;")\n";&lt;br /&gt;}&lt;br /&gt;&lt;/n_movies;&gt;&lt;/n_movies;&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="result"&gt;&lt;pre&gt;Enter title: Blade Runner&lt;br /&gt;Enter year: 1982&lt;br /&gt;Enter title: Matrix&lt;br /&gt;Enter year: 1999&lt;br /&gt;Enter title: Taxi Driver&lt;br /&gt;Enter year: 1976&lt;br /&gt;&lt;br /&gt;You have entered these movies:&lt;br /&gt;Blade Runner (1982)&lt;br /&gt;Matrix (1999)&lt;br /&gt;Taxi Driver (1976)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;a name="arrow"&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3&gt;Pointers to structures&lt;/h3&gt; Like any other type, structures can be pointed by its own type of pointers:&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; movies_t {&lt;br /&gt;string title;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; year;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;movies_t amovie;&lt;br /&gt;movies_t * pmovie;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Here &lt;tt&gt;amovie&lt;/tt&gt; is an object of structure type &lt;tt&gt;movies_t&lt;/tt&gt;, and &lt;tt&gt;pmovie&lt;/tt&gt; is a pointer to point to objects of structure type &lt;tt&gt;movies_t&lt;/tt&gt;. So, the following code would also be valid:&lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;pmovie = &amp;amovie;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;The value of the pointer &lt;tt&gt;pmovie&lt;/tt&gt; would be assigned to a reference to the object &lt;tt&gt;amovie&lt;/tt&gt; (its memory address).&lt;/p&gt;&lt;p&gt;We will now go with another example that includes pointers, which will serve to introduce a new operator: the arrow operator (&lt;tt&gt;-&gt;&lt;/tt&gt;):&lt;/p&gt;&lt;table class="codebox"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="comm"&gt;// pointers to structures&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;string&gt;&lt;/string&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="prep"&gt;#include &lt;sstream&gt;&lt;/sstream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kw"&gt;using&lt;/span&gt; &lt;span class="kw"&gt;namespace&lt;/span&gt; std;&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; movies_t {&lt;br /&gt;string title;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; year;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; main ()&lt;br /&gt;{&lt;br /&gt;string mystr;&lt;br /&gt;&lt;br /&gt;movies_t amovie;&lt;br /&gt;movies_t * pmovie;&lt;br /&gt;pmovie = &amp;amovie;&lt;br /&gt;&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"Enter title: "&lt;/span&gt;;&lt;br /&gt;getline (cin, pmovie-&gt;title);&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"Enter year: "&lt;/span&gt;;&lt;br /&gt;getline (cin, mystr);&lt;br /&gt;(stringstream) mystr &gt;&gt; pmovie-&gt;year;&lt;br /&gt;&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;"\nYou have entered:\n"&lt;/span&gt;;&lt;br /&gt;cout &lt;&lt;&gt;title;&lt;br /&gt;cout &lt;&lt; &lt;span class="str"&gt;" ("&lt;/span&gt; &lt;&lt;&gt;year &lt;&lt; &lt;span class="str"&gt;")\n"&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;return&lt;/span&gt; 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="result"&gt;&lt;pre&gt;Enter title: Invasion of the body snatchers&lt;br /&gt;Enter year: 1978&lt;br /&gt;&lt;br /&gt;You have entered:&lt;br /&gt;Invasion of the body snatchers (1978)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;The previous code includes an important introduction: the arrow operator (&lt;tt&gt;-&gt;&lt;/tt&gt;). This is a dereference operator that is used exclusively with pointers to objects with members. This operator serves to access a member of an object to which we have a reference. In the example we used:&lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;pmovie-&gt;title&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Which is for all purposes equivalent to: &lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;(*pmovie).title&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Both expressions &lt;tt&gt;pmovie-&gt;title&lt;/tt&gt; and &lt;tt&gt;(*pmovie).title&lt;/tt&gt; are valid and both mean that we are evaluating the member &lt;tt&gt;title&lt;/tt&gt; of the data structure &lt;u&gt;pointed by&lt;/u&gt; a pointer called &lt;tt&gt;pmovie&lt;/tt&gt;. It must be clearly differentiated from: &lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;*pmovie.title&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;which is equivalent to:&lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;*(pmovie.title)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;And that would access the value pointed by a hypothetical pointer member called &lt;tt&gt;title&lt;/tt&gt; of the structure object &lt;tt&gt;pmovie&lt;/tt&gt; (which in this case would not be a pointer). The following panel summarizes possible combinations of pointers and structure members:&lt;/p&gt;&lt;table class="boxed"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Expression&lt;/th&gt;&lt;th&gt;What is evaluated&lt;/th&gt;&lt;th&gt;Equivalent&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;a.b&lt;/td&gt;&lt;td&gt;Member b of object a&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;a-&gt;b&lt;/td&gt;&lt;td&gt;Member b of object pointed by a&lt;/td&gt;&lt;td&gt;(*a).b&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;*a.b&lt;/td&gt;&lt;td&gt;Value pointed by member b of object a&lt;/td&gt;&lt;td&gt;*(a.b)&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;Nesting structures&lt;/h3&gt;&lt;p&gt;Structures can also be nested so that a valid element of a structure can also be in its turn another structure.&lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; movies_t {&lt;br /&gt;string title;&lt;br /&gt;&lt;span class="kw"&gt;int&lt;/span&gt; year;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;span class="kw"&gt;struct&lt;/span&gt; friends_t {&lt;br /&gt;string name;&lt;br /&gt;string email;&lt;br /&gt;movies_t favorite_movie;&lt;br /&gt;} charlie, maria;&lt;br /&gt;&lt;br /&gt;friends_t * pfriends = &amp;charlie;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;After the previous declaration we could use any of the following expressions:&lt;/p&gt;&lt;table class="snippet"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;pre&gt;charlie.name&lt;br /&gt;maria.favorite_movie.title&lt;br /&gt;charlie.favorite_movie.year&lt;br /&gt;pfriends-&gt;favorite_movie.year&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; (where, by the way, the last two expressions refer to the same member). &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-5241365776448638339?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Zo8aLkrJ_d0:MyGENz8e5-g:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Zo8aLkrJ_d0:MyGENz8e5-g:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Zo8aLkrJ_d0:MyGENz8e5-g:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Zo8aLkrJ_d0:MyGENz8e5-g:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Zo8aLkrJ_d0:MyGENz8e5-g:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Zo8aLkrJ_d0:MyGENz8e5-g:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/Zo8aLkrJ_d0/what-is-data-structurebasic-view-of.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/what-is-data-structurebasic-view-of.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-1988370250622971886</guid><pubDate>Fri, 21 Nov 2008 02:32:00 +0000</pubDate><atom:updated>2008-11-21T08:06:45.726+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java/Javascript</category><title>Find Bugs and Debug it in Java</title><description>One thing that you are going to notice as you learn about programming is that you tend to make a fair number of mistakes and assumptions that cause your program to either: 1) not compile, or 2) produce output that you don't expect when it executes. These problems are referred to as &lt;b&gt;bugs&lt;/b&gt;, and the act of removing them is called &lt;b&gt;debugging&lt;/b&gt;. About half of the time of any programmer is spent debugging. &lt;p&gt; You will have plenty of time and opportunity to create your own bugs, but to get more familiar with the possibilities let's create a few. In your program, try erasing one of the semicolons at the end of a line and try compiling the program with &lt;b&gt;javac&lt;/b&gt;. The compiler will give you an error message. This is called a &lt;b&gt;compiler error&lt;/b&gt;,&lt;span class="fullpost"&gt; and you have to eliminate all of them before you can execute your program. Try misspelling a function name, leaving out a "{" or eliminating one of the &lt;b&gt;import&lt;/b&gt; lines to get used to different compiler errors. The first time you see a certain type of compiler error it can be frustrating, but by experimenting like this -- with known errors that you create on purpose -- you can get familiar with many of the common errors. &lt;/p&gt;&lt;p&gt;A bug, also known as an execution (or run-time) error, occurs when the program compiles fine and runs, but then does not produce the output you planned on it producing. For example, this code produces a red rectangle with two diagonal lines across it: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;        g.setColor(Color.red);&lt;br /&gt;       g.fillRect(0, 0, 200, 200);&lt;br /&gt;       g.setColor(Color.black);&lt;br /&gt;       g.drawLine(0, 0, 200, 200);&lt;br /&gt;       g.drawLine(200, 0, 0, 200);&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; The following code, on the other hand, produces just the red rectangle (which covers over the two lines): &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;        g.setColor(Color.black);&lt;br /&gt;       g.drawLine(0, 0, 200, 200);&lt;br /&gt;       g.drawLine(200, 0, 0, 200);&lt;br /&gt;       g.setColor(Color.red);&lt;br /&gt;       g.fillRect(0, 0, 200, 200);&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt;The code is almost exactly the same but looks completely different when it executes. If you are expecting to see two diagonal lines, then the code in the second case contains a bug. &lt;/p&gt;&lt;p&gt; Here's another example: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;        g.drawLine(0, 0, 200, 200);&lt;br /&gt;       g.drawRect(0, 0, 200, 200);&lt;br /&gt;       g.drawLine(200, 0, 0, 200);&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; This code produces a black outlined box and two diagonals. This next piece of code produces only one diagonal: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;        g.drawLine(0, 0, 200, 200);&lt;br /&gt;       g.drawRect(0, 0, 200, 200);&lt;br /&gt;       g.drawLine(0, 200, 0, 200);&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt;Again, if you expected to see two diagonals, then the second piece of code contains a bug (look at the second piece of code until you understand what went wrong). This sort of bug can take a long time to find because it is subtle. &lt;/p&gt;&lt;p&gt;You will have plenty of time to practice finding your own bugs. The average programmer spends about half of his or her time tracking down, finding and eliminating bugs. Try not to get frustrated when they occur -- they are a normal part of programming life. &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-1988370250622971886?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=cPFSTUxHpA4:374RO0O_0hY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=cPFSTUxHpA4:374RO0O_0hY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=cPFSTUxHpA4:374RO0O_0hY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=cPFSTUxHpA4:374RO0O_0hY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=cPFSTUxHpA4:374RO0O_0hY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=cPFSTUxHpA4:374RO0O_0hY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/cPFSTUxHpA4/find-bugs-and-debug-it-in-java.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/find-bugs-and-debug-it-in-java.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-5033712641704852892</guid><pubDate>Fri, 21 Nov 2008 02:08:00 +0000</pubDate><atom:updated>2008-11-21T07:44:15.485+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Free Tools</category><title>Max Theme:: Free Premium Quality WordPress Theme</title><description>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:Verdana;font-size:11;"  &gt;&lt;p style="text-align: justify;"&gt;Looking for a premium quality WordPress theme? But, don’t want to spend a dime? Don’t waste your time turning the whole world wide web upside down! Just take a look at WordPress Max theme by Gabfire web design. From AJAX control panel for theme options to fully optimized magazine/newspaper style front page, all features in this theme are premium. And the good thing is that it is available for free download.&lt;/p&gt;&lt;p style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MHXd_25Sffg/SSYY8XvTTfI/AAAAAAAAALc/RyFFT345vO8/s1600-h/wordpress_max_theme.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_MHXd_25Sffg/SSYY8XvTTfI/AAAAAAAAALc/RyFFT345vO8/s320/wordpress_max_theme.jpg" alt="" id="BLOGGER_PHOTO_ID_5270927839327374834" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span class="fullpost"&gt;With WordPress Max theme, in the front page of your WordPress powered blog, you will be able to display featured posts, latest posts and categorized posts along with auto-cropped and resized thumbnails. Then there is a carousel in the middle for displaying posts by large pictures. In the sidebar you can display most viewed posts, most commented posts, tags etc with the help of AJAX tabs. There is also a video panel to play latest videos on sidebar. Then there are 4 advertising positions that can be controlled directly from the theme control panel. With so many features and options available on this theme, you can easily create a content rich, news blog, powered by WordPress. Take a look at the demo and download it today.&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;strong&gt;Overview of WordPress Max theme features:&lt;/strong&gt;&lt;/p&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Premium quality news style WordPress theme.&lt;/li&gt;&lt;li&gt;Ajaxed Control Panel for theme settings and options.&lt;/li&gt;&lt;li&gt;Thumbnails created on the fly with cropping and resizing for best quality.&lt;/li&gt;&lt;li&gt;Sidebar AJAX tabs (most viewed, most commented, tags etc).&lt;/li&gt;&lt;li&gt;Video panel to play latest videos on sidebar.&lt;/li&gt;&lt;li&gt;Custom 404, archives, video templates..&lt;/li&gt;&lt;li&gt;Four advertising positions that can be controlled directly in the control panel.&lt;/li&gt;&lt;li&gt;Theme is fully widgetized with 3 sidebars.&lt;/li&gt;&lt;li&gt;Ability to manage all thumbnail sizes in control panel.&lt;/li&gt;&lt;li&gt;Flickr gallery scrollbar with options built in.&lt;/li&gt;&lt;li&gt;Beautiful carousel to scroll between posts by large pictures.&lt;/li&gt;&lt;li&gt;Gravatars support built-in.&lt;/li&gt;&lt;li&gt;Trackbacks are separated from comments.&lt;/li&gt;&lt;li&gt;Show author picture, posts, and info below each post.&lt;/li&gt;&lt;li&gt;FeedBurner built in - can be setup in control panel.&lt;/li&gt;&lt;li&gt;Custom jQuery panel for quick social bookmarking for posts.&lt;/li&gt;&lt;li&gt;Theme is split in several CSS and html template files for easiest access and edit.&lt;/li&gt;&lt;li&gt;Available for free download.&lt;/li&gt;&lt;/ul&gt;&lt;p style="text-align: justify;"&gt;&lt;a title="WordPress Max Theme Demo" rel="nofollow" href="http://mywordpressdesign.com/max/" target="_blank" style="color: rgb(0, 99, 141); text-decoration: underline;"&gt;Demo&lt;/a&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;|&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a title="WordPress Max Theme" rel="nofollow" href="http://www.gabfire.com/wordpress-max-theme-is-released/" target="_blank" style="color: rgb(0, 99, 141); text-decoration: underline;"&gt;Release Page&lt;/a&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;|&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a title="WordPress Max Theme Download" rel="nofollow" href="http://mywordpressdesign.com/wp-max.zip" target="_blank" style="color: rgb(0, 99, 141); text-decoration: underline;"&gt;Download Link&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-5033712641704852892?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=vtR9YYCZcUU:t9MJpO2FR-Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=vtR9YYCZcUU:t9MJpO2FR-Q:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=vtR9YYCZcUU:t9MJpO2FR-Q:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=vtR9YYCZcUU:t9MJpO2FR-Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=vtR9YYCZcUU:t9MJpO2FR-Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=vtR9YYCZcUU:t9MJpO2FR-Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/vtR9YYCZcUU/max-theme-free-premium-quality.html</link><author>noreply@blogger.com (Arafat)</author><media:thumbnail url="http://1.bp.blogspot.com/_MHXd_25Sffg/SSYY8XvTTfI/AAAAAAAAALc/RyFFT345vO8/s72-c/wordpress_max_theme.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/max-theme-free-premium-quality.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-1385391551803421291</guid><pubDate>Fri, 21 Nov 2008 01:34:00 +0000</pubDate><atom:updated>2008-11-21T07:15:49.412+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">System Software</category><title>The secret of virus? How it's deal with machine.</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://static.howstuffworks.com/gif/virus-ch.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 200px;" src="http://static.howstuffworks.com/gif/virus-ch.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Wanna know the secret of virus. How it's deal with your machine. Then I just try to reveal it. Actually I spend some time over net for a research on virus and I now coming to serve you a small details on it.&lt;br /&gt;Strange as it may sound, the computer virus is something of an Information Age marvel. On one hand, viruses show us how vulnerable we are -- a properly engineered virus can have a devastating effect, disrupting productivity and doing billions of dollars in damages. On the other hand, they show us how sophisticated and interconnected human beings have become. For example, experts estimate that the &lt;a href="http://www.timesonline.co.uk/article/0,,1-979473,00.html"&gt;Mydoom worm&lt;/a&gt; infected&lt;span class="fullpost"&gt; approximately a quarter-million computers in a single day in January 2004. Back in March 1999, the &lt;a href="http://www.cert.org/advisories/CA-1999-04.html"&gt;Melissa virus&lt;/a&gt; was so powerful that it forced Microsoft and a number of other very large companies to completely turn off their e-mail systems until the virus could be contained. The &lt;a href="http://vil.nai.com/vil/content/v_98617.htm"&gt;ILOVEYOU virus&lt;/a&gt; in 2000 had a similarly devastating effect. In January 2007, a worm called Storm appeared -- by October, experts believed up to 50 million computers were infected. That's pretty impressive when you consider that many viruses are incredibly simple.&lt;br /&gt;&lt;br /&gt;When you listen to the news, you hear about many different forms of electronic infection. The most common are:   &lt;ul&gt;&lt;li&gt;&lt;strong&gt;Viruses&lt;/strong&gt; - A virus is a small piece of software that piggybacks on real programs. For example, a virus might attach itself to a program such as a spreadsheet program. Each time the spreadsheet program runs, the virus runs, too, and it has the chance to reproduce (by attaching to other programs) or wreak havoc. &lt;/li&gt;&lt;li&gt;&lt;strong&gt;E-mail viruses&lt;/strong&gt; - An e-mail virus travels as an attachment to e-mail messages, and usually replicates itself by automatically mailing itself to dozens of people in the victim's e-mail address book. Some e-mail viruses don't even require a double-click -- they launch when you view the infected message in the preview pane of your e-mail software [source: &lt;a href="http://www.pcworld.com/article/id,81968/article.html"&gt;Johnson&lt;/a&gt;]. &lt;/li&gt;&lt;li&gt;&lt;a&gt;&lt;strong&gt;Trojan&lt;/strong&gt;&lt;/a&gt; &lt;strong&gt;horses&lt;/strong&gt; - A Trojan horse is simply a computer program. The program claims to do one thing (it may claim to be a game) but instead does damage when you run it (it may erase your hard disk). Trojan horses have no way to replicate automatically. &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Worms&lt;/strong&gt; - A worm is a small piece of software that uses computer networks and security holes to replicate itself. A copy of the worm scans the network for another machine that has a specific security hole. It copies itself to the new machine using the security hole, and then starts replicating from there, as well. &lt;/li&gt;&lt;/ul&gt;Stay tuned will come with much more information about virus soon.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-1385391551803421291?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=E_1pH4Qvmzg:aljm2Tf3nAw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=E_1pH4Qvmzg:aljm2Tf3nAw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=E_1pH4Qvmzg:aljm2Tf3nAw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=E_1pH4Qvmzg:aljm2Tf3nAw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=E_1pH4Qvmzg:aljm2Tf3nAw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=E_1pH4Qvmzg:aljm2Tf3nAw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/E_1pH4Qvmzg/secret-of-virus-how-its-deal-with.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/secret-of-virus-how-its-deal-with.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-7310004388416518097</guid><pubDate>Fri, 21 Nov 2008 01:22:00 +0000</pubDate><atom:updated>2008-11-21T06:57:47.904+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Free Tools</category><title>Free e-book: Teach Yourself C++ in 21 Days (Read Online Only)</title><description>&lt;a style="" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://tbn0.google.com/images?q=tbn:tzfqXIsaYSy2XM:http://www.computersciencelab.com/Images/LibertyCover.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 110px; height: 136px;" src="http://tbn0.google.com/images?q=tbn:tzfqXIsaYSy2XM:http://www.computersciencelab.com/Images/LibertyCover.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Computer languages have undergone dramatic evolution since the first electronic computers were built to assist in telemetry calculations during World War II. Early on, programmers worked with the most primitive computer instructions: machine language. These instructions were represented by long strings of ones and zeroes. Soon, assemblers were invented to map machine instructions to human-readable and -manageable mnemonics, such as ADD and MOV. In time, higher-level languages evolved, such as BASIC and COBOL. These languages let people work with something approximating words and sentences, such as Let I = 100. These instructions were translated back into machine language by interpreters and compilers. An interpreter translates a program as it reads it, turning the program instructions, or code, directly into actions. A compiler translates the code into an intermediary form. This step is called compiling, and produces an object file. The compiler then invokes a linker, which turns the object file into an executable program. Because interpreters read the code as it is written and execute the code on the spot, interpreters are easy for the programmer to work with. Compilers, however, introduce the extra steps of compiling and linking the code, which is inconvenient. Compilers produce a program that is very fast each time it is run. However, the time-consuming task of translating the source code into machine language has already been accomplished. Another advantage of many compiled languages like C++ is that you can distribute the executable program to people who don't have the compiler. With an interpretive language, you must have the language to run the program.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://newdata.box.sk/bx/c/"&gt;&lt;&lt;read&gt;Read Online Only Here&gt;&lt;/read&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-7310004388416518097?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=ZmJyqwF7620:X8mkrZr7Jr4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=ZmJyqwF7620:X8mkrZr7Jr4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=ZmJyqwF7620:X8mkrZr7Jr4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=ZmJyqwF7620:X8mkrZr7Jr4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=ZmJyqwF7620:X8mkrZr7Jr4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=ZmJyqwF7620:X8mkrZr7Jr4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/ZmJyqwF7620/free-e-book-teach-yourself-c-in-21-days.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/free-e-book-teach-yourself-c-in-21-days.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-1540433749860603942</guid><pubDate>Fri, 21 Nov 2008 00:55:00 +0000</pubDate><atom:updated>2008-11-21T06:40:03.183+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">News</category><title>Google introduce new themes for Gmail</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://www.google.com/accounts/gmail20x20.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 20px; height: 20px;" src="https://www.google.com/accounts/gmail20x20.gif" alt="" border="0" /&gt;&lt;/a&gt;No more white look now. Google now in a race and continuously introducing new feature. From today you can say bye bye to your gmail white-blue-black look. From today you are in the new world of color in gmail. Just go to your setting and find themes tab:-&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MHXd_25Sffg/SSYJS5tHY5I/AAAAAAAAALM/151pIuZEfVc/s1600-h/themes.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 196px; height: 34px;" src="http://3.bp.blogspot.com/_MHXd_25Sffg/SSYJS5tHY5I/AAAAAAAAALM/151pIuZEfVc/s200/themes.jpg" alt="" id="BLOGGER_PHOTO_ID_5270910634216088466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;and then choose any 1 from the huge list of 31 themes:-&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MHXd_25Sffg/SSYKKENQmAI/AAAAAAAAALU/ldlsSfNjnU8/s1600-h/themes2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 189px;" src="http://1.bp.blogspot.com/_MHXd_25Sffg/SSYKKENQmAI/AAAAAAAAALU/ldlsSfNjnU8/s320/themes2.jpg" alt="" id="BLOGGER_PHOTO_ID_5270911581928069122" border="0" /&gt;&lt;/a&gt;So, go and check the new world of color.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-1540433749860603942?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=T4WhS5ywpOc:uVWXNb8VPZM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=T4WhS5ywpOc:uVWXNb8VPZM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=T4WhS5ywpOc:uVWXNb8VPZM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=T4WhS5ywpOc:uVWXNb8VPZM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=T4WhS5ywpOc:uVWXNb8VPZM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=T4WhS5ywpOc:uVWXNb8VPZM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/T4WhS5ywpOc/google-introduce-new-themes-for-gmail.html</link><author>noreply@blogger.com (Arafat)</author><media:thumbnail url="http://3.bp.blogspot.com/_MHXd_25Sffg/SSYJS5tHY5I/AAAAAAAAALM/151pIuZEfVc/s72-c/themes.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/google-introduce-new-themes-for-gmail.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-4614817227179289009</guid><pubDate>Thu, 20 Nov 2008 04:48:00 +0000</pubDate><atom:updated>2008-11-20T10:22:42.849+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">shell programming</category><title>Write a shell script to print a positive integer in reverse order?</title><description>The solution is :&lt;br /&gt;&lt;div class="codeview"&gt;&lt;br /&gt;echo "Enter a positive integer"&lt;br /&gt;read integer&lt;br /&gt;&lt;br /&gt;until test $integer -eq 0&lt;br /&gt;do&lt;br /&gt;  num=`expr $integer %10`&lt;br /&gt;  echo "$num \c"&lt;br /&gt;  integer=`expr $integer/10`&lt;br /&gt;&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-4614817227179289009?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=aC0QpqDVFa0:RgTfNgV7lrM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=aC0QpqDVFa0:RgTfNgV7lrM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=aC0QpqDVFa0:RgTfNgV7lrM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=aC0QpqDVFa0:RgTfNgV7lrM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=aC0QpqDVFa0:RgTfNgV7lrM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=aC0QpqDVFa0:RgTfNgV7lrM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/aC0QpqDVFa0/write-shell-script-to-print-positive.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/write-shell-script-to-print-positive.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-9000356797033423491</guid><pubDate>Thu, 20 Nov 2008 03:13:00 +0000</pubDate><atom:updated>2008-11-20T08:54:06.184+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Language</category><title>How memory addresses deal by pointer in C?</title><description>&lt;p&gt; All computers have &lt;b&gt;memory&lt;/b&gt;, also known as &lt;b&gt;RAM&lt;/b&gt; (random access memory). For example, your computer might have 16 or 32 or 64 megabytes of RAM installed right now. RAM holds the programs that your computer is currently running along with the data they are currently manipulating (their variables and data structures). Memory can be thought of simply as an array of bytes. In this array, every memory location has its own address -- the address of the first byte is 0, followed by 1, 2, 3, and so on. Memory addresses act just like the indexes of a normal array. The computer can access any address in memory at any time (hence the name "random access memory"). It can also group bytes together as it needs to to form larger variables, arrays, and structures. For example, a floating point variable consumes 4 contiguous bytes in memory. You might make the following global declaration in a program: &lt;/p&gt;&lt;span class="fullpost"&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;float f;&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; This statement says, "Declare a location named &lt;b&gt;f&lt;/b&gt; that can hold one floating point value." When the program runs, the computer reserves space for the variable &lt;b&gt;f&lt;/b&gt; somewhere in memory. That location has a fixed address in the memory space, like this: &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;img src="http://static.howstuffworks.com/gif/c-pointer4.gif" /&gt;&lt;br /&gt;&lt;span style="font-size:-1;"&gt;The variable f consumes four bytes of RAM in memory.&lt;br /&gt;That location has a specific address, in this case 248,440.&lt;/span&gt; &lt;/center&gt; &lt;p&gt; While you think of the variable &lt;b&gt;f&lt;/b&gt;, the computer thinks of a specific address in memory (for example, 248,440). Therefore, when you create a statement like this: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;f = 3.14;&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt;The compiler might translate that into, "Load the value 3.14 into memory location 248,440." The computer is always thinking of memory in terms of addresses and values at those addresses. &lt;/p&gt;&lt;p&gt;There are, by the way, several interesting side effects to the way your computer treats memory. For example, say that you include the following code in one of your programs: &lt;/p&gt;&lt;div class="codeview"&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;int i, s[4], t[4], u=0;&lt;br /&gt;&lt;br /&gt;for (i=0; i&lt;=4; i++)&lt;br /&gt;{&lt;br /&gt; s[i] = i;&lt;br /&gt; t[i] =i;&lt;br /&gt;}&lt;br /&gt;printf("s:t\n");&lt;br /&gt;for (i=0; i&lt;=4; i++)&lt;br /&gt; printf("%d:%d\n", s[i], t[i]);&lt;br /&gt;printf("u = %d\n", u);&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;/div&gt;&lt;p&gt; The output that you see from the program will probably look like this: &lt;/p&gt;&lt;p&gt; &lt;b&gt; &lt;pre&gt;s:t&lt;br /&gt;1:5&lt;br /&gt;2:2&lt;br /&gt;3:3&lt;br /&gt;4:4&lt;br /&gt;5:5&lt;br /&gt;u = 5&lt;br /&gt;&lt;/pre&gt; &lt;/b&gt; &lt;/p&gt;&lt;p&gt; Why are &lt;b&gt;t[0]&lt;/b&gt; and &lt;b&gt;u&lt;/b&gt; incorrect? If you look carefully at the code, you can see that the for loops are writing one element past the end of each array. In memory, the arrays are placed adjacent to one another, as shown here: &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;table width="400" align="center" cellpadding="3" cellspacing="0"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;td&gt; &lt;center&gt;&lt;img src="http://static.howstuffworks.com/gif/c-pointer5.gif" /&gt;&lt;br /&gt;&lt;/center&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Therefore, when you try to write to s[4], which does not exist, the system writes into t[0] instead because t[0] is where s[4] ought to be. When you write into t[4], you are really writing into u. As far as the computer is concerned, s[4] is simply an address, and it can write into it. As you can see however, even though the computer executes the program, it is not correct or valid. The program corrupts the array t in the process of running. If you execute the following statement, more severe consequences result: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;s[1000000] = 5;&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; The location &lt;b&gt;s[1000000]&lt;/b&gt; is more than likely outside of your program's memory space. In other words, you are writing into memory that your program does not own. On a system with protected memory spaces (UNIX, Windows 98/NT), this sort of statement will cause the system to terminate execution of the program. On other systems (Windows 3.1, the Mac), however, the system is not aware of what you are doing. You end up damaging the code or variables in another application. The effect of the violation can range from nothing at all to a complete system crash. In memory, i, s, t and u are all placed next to one another at specific addresses. Therefore, if you write past the boundaries of a variable, the computer will do what you say but it will end up corrupting another memory location. &lt;/p&gt;&lt;p&gt;Because C and C++ do not perform any sort of range checking when you access an element of an array, it is essential that you, as a programmer, pay careful attention to &lt;b&gt;array ranges&lt;/b&gt; yourself and keep within the array's appropriate boundaries. Unintentionally reading or writing outside of array boundaries always leads to faulty program behavior. &lt;/p&gt;&lt;p&gt; As another example, try the following: &lt;/p&gt;&lt;div class="codeview"&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;#include &lt;stdio.h&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;   int i,j;&lt;br /&gt;   int *p;   /* a pointer to an integer */&lt;br /&gt;   printf("%d %d\n", p, &amp;amp;i);&lt;br /&gt;   p = &amp;i;&lt;br /&gt;   printf("%d %d\n", p, &amp;amp;i);&lt;br /&gt;   return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;/div&gt;&lt;p&gt; This code tells the compiler to print out the address held &lt;i&gt;in &lt;/i&gt; &lt;b&gt;p&lt;/b&gt;, along with the address &lt;i&gt;of&lt;/i&gt; &lt;b&gt;i.&lt;/b&gt; The variable &lt;b&gt;p&lt;/b&gt; starts off with some crazy value or with 0. The address of&lt;b&gt; i &lt;/b&gt;is generally a large value. For example, when I ran this code, I received the following output: &lt;/p&gt;&lt;p&gt; &lt;span style="color:green;"&gt; &lt;pre&gt;0   2147478276&lt;br /&gt;2147478276   2147478276&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; which means that the address of &lt;b&gt;i&lt;/b&gt; is 2147478276. Once the statement &lt;b&gt;&lt;span style="color:blue;"&gt;p = &amp;i;&lt;/span&gt;&lt;/b&gt; has been executed, &lt;b&gt;p&lt;/b&gt; contains the address of &lt;b&gt;i&lt;/b&gt;. Try this as well: &lt;/p&gt;&lt;div class="codeview"&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;#include &lt;stdio.h&gt;&lt;br /&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;   int *p;   /* a pointer to an integer */&lt;br /&gt;&lt;br /&gt;   printf("%d\n",*p);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;/div&gt;&lt;p&gt; This code tells the compiler to print the value that &lt;b&gt;p&lt;/b&gt; points to. However, &lt;b&gt;p&lt;/b&gt; has not been initialized yet; it contains the address 0 or some random address. In most cases, a &lt;b&gt;segmentation fault&lt;/b&gt; (or some other run-time error) results, which means that you have used a pointer that points to an invalid area of memory. Almost always, an uninitialized pointer or a bad pointer address is the cause of segmentation faults. &lt;/p&gt;&lt;p&gt; Having said all of this, we can now look at pointers in a whole new light. Take this program, for example: &lt;/p&gt;&lt;div class="codeview"&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;#include &lt;stdio.h&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;   int i;&lt;br /&gt;   int *p;   /* a pointer to an integer */&lt;br /&gt;   p = &amp;i;&lt;br /&gt;   *p=5;&lt;br /&gt;   printf("%d %d\n", i, *p);&lt;br /&gt;   return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;/div&gt;&lt;p&gt; Here is what's happening: &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;img src="http://static.howstuffworks.com/gif/c-pointer6.gif" /&gt; &lt;/center&gt; &lt;p&gt; The variable &lt;b&gt;i&lt;/b&gt; consumes 4 bytes of memory. The pointer p also consumes 4 bytes (on most machines in use today, a pointer consumes 4 bytes of memory. Memory addresses are 32-bits long on most &lt;a href="http://www.howstuffworks.com/microprocessor.htm"&gt;CPUs&lt;/a&gt; today, although there is a increasing trend toward 64-bit addressing). The location of i has a specific address, in this case 248,440. The pointer p holds that address once you say &lt;b&gt;&lt;span style="color:blue;"&gt;p = &amp;i;&lt;/span&gt;&lt;/b&gt;. The variables &lt;b&gt;*p&lt;/b&gt; and &lt;b&gt;i&lt;/b&gt; are therefore equivalent. &lt;/p&gt;&lt;p&gt; The pointer &lt;b&gt;p&lt;/b&gt; literally holds the address of &lt;b&gt;i&lt;/b&gt;. When you say something like this in a program: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;printf("%d", p);&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; what comes out is the actual address of the variable &lt;b&gt;i&lt;/b&gt;. &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-9000356797033423491?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=jhQjw6MWRwM:FIspXJmOVz0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=jhQjw6MWRwM:FIspXJmOVz0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=jhQjw6MWRwM:FIspXJmOVz0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=jhQjw6MWRwM:FIspXJmOVz0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=jhQjw6MWRwM:FIspXJmOVz0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=jhQjw6MWRwM:FIspXJmOVz0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/jhQjw6MWRwM/how-memory-addresses-deal-by-pointer-in.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/how-memory-addresses-deal-by-pointer-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-194714773727584985</guid><pubDate>Thu, 20 Nov 2008 03:05:00 +0000</pubDate><atom:updated>2008-11-20T08:40:01.600+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Free Tools</category><title>Download Free 3D Graphics and Modeling Software</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.opensourcewindows.org/icon/blender.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 82px; height: 82px;" src="http://www.opensourcewindows.org/icon/blender.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;If you are trying to make some game or anything related to graphics then this is your first choice. This is free and almost compete to most paid soft of similar kind. So download now. &lt;a href="http://www.blender.org/download/get-blender/"&gt;Click here to download&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-194714773727584985?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VEH6i_f9BOk:XxCVUgGxp9s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VEH6i_f9BOk:XxCVUgGxp9s:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=VEH6i_f9BOk:XxCVUgGxp9s:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VEH6i_f9BOk:XxCVUgGxp9s:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=VEH6i_f9BOk:XxCVUgGxp9s:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=VEH6i_f9BOk:XxCVUgGxp9s:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/VEH6i_f9BOk/download-free-3d-graphics-and-modeling.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/download-free-3d-graphics-and-modeling.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-3858620699258212208</guid><pubDate>Thu, 20 Nov 2008 01:44:00 +0000</pubDate><atom:updated>2008-11-20T08:04:53.195+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">SAD</category><title>How many types of system in the basis of behavior?Discuss about them.</title><description>&lt;div style="text-align: justify;"&gt;I'm already discuss about definition of system earlier. So now I'm going to discuss about types of system in the basis of behavior. There are four types of system in the basis behavior. Those are:&lt;br /&gt;&lt;br /&gt;   1. Physical or abstract systems&lt;br /&gt;   2. Open or closed systems&lt;br /&gt;   3. Deterministic or probabilistic systems&lt;br /&gt;   4. Man-made information systems&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. &lt;span style="font-weight: bold;"&gt;Physical or Abstract Systems&lt;/span&gt;: A physical system may be defined as a set of elements that operate in relation to each other to accomplish a common objective or purpose. For instance, a computer system is a physical system that consists of a set of electronic equipment which get activate by system of electronics signals to accomplish a processing activity.&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;Open or Closed Systems:&lt;/span&gt; An open system is one which exchange information, material or energy with the environment. Biological systems and business organizations are open system. Analysts usually deal with open system. Such interactive systems are adoptive that is, they tend to form a structure to allow them to adopt to changes in their environment in such a way as to continue their existence.&lt;br /&gt;&lt;br /&gt;A closed system is defined as one which does not interact with environment. An example of such system is a chemical reaction in a sealed insulated container. Such system are subjects to increase in entropy or disorder.&lt;br /&gt;&lt;br /&gt;3. &lt;span style="font-weight: bold;"&gt;Deterministic or Probabilistic Systems:&lt;/span&gt; A deterministic system is defined as one which the interaction among the components is known with certainty and hence the occurrence of all events in it is predictable. A correctly developed computer program; for example, is a deterministic system.&lt;br /&gt;&lt;br /&gt;A probabilistic system is an inventory control systems in which the occurrence of events can not be perfectly predictable. An example of such a system is an inventory control system in which the average demand, average time for replacement etc. may be defined, but the exact value of them at a given time is not known.&lt;br /&gt;&lt;br /&gt;4. &lt;span style="font-weight: bold;"&gt;Man-made Information Systems:&lt;/span&gt; An information systems are those which receive inputs of data and instruction, maintain files of data about different subsystems and produce information. No business organization can function effectively if it does not make use of information properly. That is why, an information system is often regarded as a separate subsystem.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-3858620699258212208?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=gh1jrCPjEC0:X1AGru0X890:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=gh1jrCPjEC0:X1AGru0X890:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=gh1jrCPjEC0:X1AGru0X890:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=gh1jrCPjEC0:X1AGru0X890:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=gh1jrCPjEC0:X1AGru0X890:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=gh1jrCPjEC0:X1AGru0X890:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/gh1jrCPjEC0/how-many-types-of-system-in-basis-of.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/how-many-types-of-system-in-basis-of.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-7190266822527273359</guid><pubDate>Thu, 20 Nov 2008 01:30:00 +0000</pubDate><atom:updated>2008-11-21T06:18:28.075+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">News</category><title>Morro: Microsoft-The next security monster?</title><description>&lt;a style="" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://news.google.com/news?imgefp=w_x6TR0l56cJ&amp;amp;imgurl=blogs.zdnet.com/security/images/windows_live_one_care.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 66px; height: 80px;" src="http://news.google.com/news?imgefp=w_x6TR0l56cJ&amp;amp;imgurl=blogs.zdnet.com/security/images/windows_live_one_care.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The Microsoft hunt for market continue. They now trying to compete all major security software provider like &lt;span id="articleBody"&gt;Symantec or McAfee.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span id="articleBody"&gt;&lt;p&gt; Microsoft's free download, which the company is calling "Morro," is designed to defend consumers' PCs against malware, such as viruses, spyware and Trojans. &lt;/p&gt;&lt;p&gt; Following Microsoft's announcement, Symantec and McAfee stocks took a nosedive Wednesday over concerns that the software giant would take a significant portion of their market share in the PC security space. Symantec shares fell 9.44 percent to $11.23, while McAfee's dropped 6.62 percent to $26.68. However, Microsoft also fell 6 percent at $18.45. So, lets see what going to happen in next 30 days.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-7190266822527273359?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=C71FZ1l1vnk:oOGFb2rHHb8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=C71FZ1l1vnk:oOGFb2rHHb8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=C71FZ1l1vnk:oOGFb2rHHb8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=C71FZ1l1vnk:oOGFb2rHHb8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=C71FZ1l1vnk:oOGFb2rHHb8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=C71FZ1l1vnk:oOGFb2rHHb8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/C71FZ1l1vnk/morro-microsift-next-security-monster.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/morro-microsift-next-security-monster.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-8086869228972443630</guid><pubDate>Wed, 19 Nov 2008 17:14:00 +0000</pubDate><atom:updated>2008-11-19T22:46:18.929+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Language</category><title>Explain the basics of pointer in C.</title><description>To understand pointers, it helps to compare them to normal variables. &lt;p&gt; A "normal variable" is a location in memory that can hold a value. For example, when you declare a variable &lt;b&gt;i&lt;/b&gt; as an integer, four bytes of memory are set aside for it. In your program, you refer to that location in memory by the name &lt;b&gt;i&lt;/b&gt;. At the machine level that location has a memory address. The four bytes at that address are known to you, the programmer, as &lt;b&gt;i&lt;/b&gt;, and the four bytes can hold one integer value. &lt;/p&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;p&gt; A pointer is different. A pointer is a variable that &lt;b&gt;points&lt;/b&gt; to another variable. This means that a pointer holds the memory address of another variable. Put another way, the pointer does not hold a value in the traditional sense; instead, it holds the address of another variable. A pointer "points to" that other variable by holding a copy of its address. &lt;/p&gt;&lt;p&gt;Because a pointer holds an address rather than a value, it has two parts. The pointer itself holds the address. That address points to a value. There is the pointer and the value pointed to. This fact can be a little confusing until you get comfortable with it, but once you get comfortable it becomes extremely powerful. &lt;/p&gt;&lt;p&gt; The following example code shows a typical pointer: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;#include &lt;stdio.h&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;   int i,j;&lt;br /&gt;   int *p;   /* a pointer to an integer */&lt;br /&gt;   p = &amp;i;&lt;br /&gt;   *p=5;&lt;br /&gt;   j=i;&lt;br /&gt;   printf("%d %d %d\n", i, j, *p);&lt;br /&gt;   return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; The first declaration in this program declares two normal integer variables named &lt;b&gt;i&lt;/b&gt; and &lt;b&gt;j&lt;/b&gt;. The line &lt;b&gt;&lt;span style="color:blue;"&gt;int *p&lt;/span&gt;&lt;/b&gt; declares a pointer named &lt;b&gt;p&lt;/b&gt;. This line asks the compiler to declare a variable &lt;b&gt;p&lt;/b&gt; that is a &lt;b&gt;pointer&lt;/b&gt; to an integer. The &lt;b&gt;&lt;span style="color:blue;"&gt;*&lt;/span&gt;&lt;/b&gt; indicates that a pointer is being declared rather than a normal variable. You can create a pointer to anything: a float, a structure, a char, and so on. Just use a &lt;b&gt;*&lt;/b&gt; to indicate that you want a pointer rather than a normal variable. &lt;/p&gt;&lt;p&gt; The line &lt;b&gt;&lt;span style="color:blue;"&gt;p = &amp;i;&lt;/span&gt;&lt;/b&gt; will definitely be new to you. In C, &lt;b&gt;&amp;amp;&lt;/b&gt; is called the &lt;b&gt;address operator&lt;/b&gt;. The expression &lt;b&gt;&lt;span style="color:blue;"&gt;&amp;amp;i&lt;/span&gt;&lt;/b&gt; means, "The memory address of the variable &lt;b&gt;i&lt;/b&gt;." Thus, the expression &lt;b&gt;&lt;span style="color:blue;"&gt;p = &amp;i;&lt;/span&gt;&lt;/b&gt; means, "Assign to &lt;b&gt;p&lt;/b&gt; the address of &lt;b&gt;i&lt;/b&gt;." Once you execute this statement, &lt;b&gt;p&lt;/b&gt; "points to" &lt;b&gt;i&lt;/b&gt;. Before you do so, &lt;b&gt;p&lt;/b&gt; contains a random, unknown address, and its use will likely cause a segmentation fault or similar program crash. &lt;/p&gt;&lt;p&gt; One good way to visualize what is happening is to draw a picture. After &lt;b&gt;i&lt;/b&gt;, &lt;b&gt;j&lt;/b&gt; and &lt;b&gt;p&lt;/b&gt; are declared, the world looks like this: &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;img src="http://static.howstuffworks.com/gif/c-pointer1.gif" /&gt; &lt;/center&gt; &lt;p&gt; In this drawing the three variables &lt;b&gt;i&lt;/b&gt;, &lt;b&gt;j&lt;/b&gt; and &lt;b&gt;p&lt;/b&gt; have been declared, but none of the three has been initialized. The two integer variables are therefore drawn as boxes containing question marks -- they could contain any value at this point in the program's execution. The pointer is drawn as a circle to distinguish it from a normal variable that holds a value, and the random arrows indicate that it can be pointing anywhere at this moment. &lt;/p&gt;&lt;p&gt; After the line &lt;b&gt;&lt;span style="color:blue;"&gt;p = &amp;I;&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;p&lt;/b&gt; is initialized and it points to &lt;b&gt;i&lt;/b&gt;, like this: &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;img src="http://static.howstuffworks.com/gif/c-pointer2.gif" /&gt; &lt;/center&gt; &lt;p&gt; Once &lt;b&gt;p&lt;/b&gt; points to &lt;b&gt;i&lt;/b&gt;, the memory location &lt;b&gt;i&lt;/b&gt; has two names. It is still known as &lt;b&gt;i&lt;/b&gt;, but now it is known as &lt;b&gt;*p&lt;/b&gt; as well. This is how C talks about the two parts of a pointer variable: &lt;b&gt;p&lt;/b&gt; is the location holding the address, while &lt;b&gt;*p&lt;/b&gt; is the location pointed to by that address. Therefore &lt;b&gt;&lt;span style="color:blue;"&gt;*p=5&lt;/span&gt;&lt;/b&gt; means that the location pointed to by &lt;b&gt;p&lt;/b&gt; should be set to 5, like this: &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;img src="http://static.howstuffworks.com/gif/c-pointer3.gif" /&gt; &lt;/center&gt; &lt;p&gt; Because the location &lt;b&gt;*p&lt;/b&gt; is also &lt;b&gt;i&lt;/b&gt;, &lt;b&gt;i&lt;/b&gt; also takes on the value 5. Consequently, &lt;b&gt;&lt;span style="color:blue;"&gt;j=i;&lt;/span&gt;&lt;/b&gt; sets &lt;b&gt;j&lt;/b&gt; to 5, and the &lt;b&gt;&lt;span style="color:blue;"&gt;printf&lt;/span&gt;&lt;/b&gt; statement produces &lt;b&gt;5 5 5&lt;/b&gt;. &lt;/p&gt;&lt;p&gt;The main feature of a pointer is its two-part nature. The pointer itself holds an address. The pointer also points to a value of a specific type - the value at the address the point holds. The pointer itself, in this case, is &lt;b&gt;p&lt;/b&gt;. The value pointed to is &lt;b&gt;*p&lt;/b&gt;. &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-8086869228972443630?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=XQGJtNAjp4A:zQ0QShWQ1QA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=XQGJtNAjp4A:zQ0QShWQ1QA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=XQGJtNAjp4A:zQ0QShWQ1QA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=XQGJtNAjp4A:zQ0QShWQ1QA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=XQGJtNAjp4A:zQ0QShWQ1QA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=XQGJtNAjp4A:zQ0QShWQ1QA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/XQGJtNAjp4A/explain-basics-of-pointer-in-c.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/explain-basics-of-pointer-in-c.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-4000464222130227233</guid><pubDate>Wed, 19 Nov 2008 17:06:00 +0000</pubDate><atom:updated>2008-11-19T22:39:28.047+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Traffic</category><title>10 Rules for Driving Traffic Using Forums(Part-2)</title><description>&lt;p&gt;Okay, you get it: you should be posting on a forum. Now what?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;1. Build Your Profile&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When you register for a forum, you should fill in as much information as possible. Most forums have a page for your user details. People visit this page when they want to know more about you or send you a private message. Describe what you do and what your web site is about.&lt;/p&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;  &lt;p&gt;Avatars are an important part of your profile. Because of the volume of text on a forum page, avatars are the way people identify the poster. Make sure your avatar is unique and recognizable at a glance—you want to make sure people associate you with your ideas. And if you use an avatar on multiple forums and social networks, use the same one.&lt;/p&gt;  &lt;p&gt;Most importantly, write a strong signature. This is the text that will appear at the bottom of every post you write, so put some thought into it. Like the signature of an email, your forum signature says who you are. Use your signature to link to your website.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;2. Follow the Rules&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Read the rules of the forum carefully, and follow them. Take the time to read through the discussions to get an idea of how people converse. There are implicit social norms that you must be mindful of.&lt;br /&gt;If you follow my ten rules, you probably won’t violate any forum rules, but don’t take any chances.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;3. Start by Responding&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Forums are about conversations and communities. One person starts a thread, either with a question or a comment, then others respond, either with answers or their own comments.&lt;/p&gt;  &lt;p&gt;People give advice free of charge in forums, but at the cost of their time and energy. They rightfully expect that the favor will be returned, so they shun people who take without anything to give.&lt;/p&gt;  &lt;p&gt;It may not be your intention to be a leach on the community, but participants are wary of newcomers automatically. Take the time to respond to others before asking anything yourself. Post in other user’s threads before you start your own.&lt;/p&gt;  &lt;p&gt;Most forums show the number of posts of the author next to every comment. Make 50 posts before you start your own thread. You might have an important question for the community, but it’s best to establish some social capital first. Otherwise, your question may be ignored.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;4. Contribute Your Expertise&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Don’t hold back. If you have an expert opinion, demonstrate it. Don’t give a half-baked response telling the member they can learn more if they follow the link to your page. Contribute highly relevant information immediately and in abundance. You don’t have to qualify your expertise unless it’s asked for. That’s what your profile is for.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;5. Don’t Be a “Me Too” Poster&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;If someone has already said it, don’t bother repeating it. All you’re doing is wasting your energy and other people’s time. That’s not to say you shouldn’t state your agreement with someone else, but make sure you provide additional support to their argument.&lt;/p&gt;  &lt;p&gt;In the event another poster disagrees with a thread you support, use the opportunity to contribute a new angle to the argument, using your own expertise.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;6. Don’t Self-promote&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Even if it’s allowed within the rules of the forum, don’t post about your own web site and products, unless it’s in direct response to a request for information. If you want to promote yourself, your signature is the place to do it.&lt;/p&gt;  &lt;p&gt;On the flip side, tell people about great products you aren’t affiliated with. Sharing information is why forums exist.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;7. Explain Yourself, but Be Brief&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Don’t assume people have the same level of knowledge on a subject as you, but don’t imagine that they have the time or inclination to be either. Make your point straight away, then back it up with support. People who are interested in your initial thought will read more; those who aren’t will skip your comment and move on to the next thread.&lt;/p&gt;  &lt;p&gt;Make sure you’re writing for the Web. Keep sentences and paragraphs short, with plenty of white space. Less is more.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;8. If You’re Wrong, Say So&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Forum discussions often hinge upon opinion, so nothing is more attention-grabbing than a poster on an internet forum admitting that they were wrong!&lt;/p&gt;  &lt;p&gt;If you’re in the heat of a discussion, and someone persuades you to change your mind, say so. It’s a pretty big deal, and furthermore, you should thank that person.&lt;/p&gt;  &lt;p&gt;Remember that forums aren’t soapboxes— they’re platforms for conversations and an opportunity to network.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;9. Write Intelligently and Correctly&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You don’t have to carefully revise and sculpt every forum post, but you should proof everything once. Consider using the spell-check if you’re not an impeccable speller.&lt;/p&gt;  &lt;p&gt;Although most forums don’t set specific rules on grammar and punctuation, you should give thought to this: everything you say, every single post, every nugget of wisdom, is a representation of your personal brand. Writing like an intelligent adult is the equivalent of maintaining proper hygiene and a presentable appearance in the workplace; if you don’t pay any attention to it, it can undermine everything else you do.&lt;/p&gt;  &lt;p&gt;However, be aware that the Internet is a global phenomenon, and some of the people you interact with will be non-native English speakers. You don’t need to point out any mistakes your fellow posters make.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;10. Negativity is a No-no&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;It goes without saying, just because you have a degree of anonymity, communicating from the safety of your work desk, doesn’t mean you can harass other posters. This is especially the case when you’re trying to build an online reputation and attract users to your site. Forums posts may fall off the main page, but they never go away.&lt;/p&gt;  &lt;p&gt;If someone disagrees with you, respond with a thoughtful rebuttal, or thank them for their opinion—for example, “It’s always interesting to hear a different take.” If someone attacks you, either thank them as if they’d simply disagreed, or ignore them entirely.&lt;/p&gt;  &lt;p&gt;All forums have trolls—people who aggressively harass you just for their own entertainment. The worst thing you can do is engage with them.&lt;/p&gt;  &lt;h5&gt;An Example Forum Thread&lt;/h5&gt;    &lt;p&gt;Let’s now take a look at a recent post I made on the SitePoint forums that demonstrates these rules in practice. I came across a pricing question in the Promotional Techniques forum that I thought I could answer.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Luc Deacu wrote:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Hello everyone,&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Soon we’ll be launching a program that we’ve been working on for the past year, which was originally going to be priced at $25 per month or more. In the last week or so, however, I’ve given it some further thought and have decided to release it free-of-charge.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;I came to this decision because I wanted to give it a test run, to see if the public liked it as much as we expect them to. We thought that it would be a better move, ultimately, if we created a premium version—in addition to the current one—and pricing just that version instead.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Do you agree with our decision? What are some of the pros and cons of handling it this way? Have you ever done it before, and if so, how did it go?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Thanks in advance,&lt;br /&gt;Luc&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;I responded:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Consider pricing it at $25, but offering a discount code to all the places you are promoting your product.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;For instance “We’ve got great new product X, which only costs $25. But we’re running a promotion, and right now you can use discount code GIMMENOW to take advantage of our 100% Off Coupon (Yes, that means FREE)”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;This does a few things. First, it makes your offer temporary, so people will know they have to act now to take advantage. Second, it favors the people you’re offering the code to, and they’ll respond to your generosity. Third, whoever you ask to promote it for you will feel good about doing so, because they’re doing something nice for their audience.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Here is a screenshot:&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i2.sitepoint.com/graphics/1669_picture.png" alt="Joshs response to the original post" height="201" width="425" /&gt;&lt;/p&gt;  &lt;p&gt;Note my recognizable avatar and the link to my blog in the signature. Luc appreciated the advice and decided to try my idea. I hope he’ll let us know how it went.&lt;/p&gt;  &lt;h5&gt;Conclusion&lt;/h5&gt;    &lt;p&gt;In this article I presented 10 rules for boosting traffic to your web site that hinged upon your involvement in an online forum. My experience is that, by following these rules, your web site will see an increase in high quality traffic. However, they’re also a good list of rules to follow when interacting online anyway—be polite, helpful, respectful and generous, and everybody wins.&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-4000464222130227233?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Q8f57Bf1cZI:yVYz0VXodko:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Q8f57Bf1cZI:yVYz0VXodko:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Q8f57Bf1cZI:yVYz0VXodko:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Q8f57Bf1cZI:yVYz0VXodko:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Q8f57Bf1cZI:yVYz0VXodko:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Q8f57Bf1cZI:yVYz0VXodko:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/Q8f57Bf1cZI/10-rules-for-driving-traffic-using_19.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/10-rules-for-driving-traffic-using_19.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-8862485206356546027</guid><pubDate>Tue, 18 Nov 2008 03:06:00 +0000</pubDate><atom:updated>2008-11-18T08:46:32.175+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Free Tools</category><title>RoboMind - Learn Programming in easy way</title><description>ROBO is a new and very simple educational programming language that will familiarize you with the basics of computer science by programming your own robot. In addition to an introduction into popular programming techniques, you will also gain insight into areas such as robotics and artificial intelligence.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.robomind.net/en/gfx/screenshot-en-2s.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://www.robomind.net/en/gfx/screenshot-en-2s.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.robomind.net/en/download.html"&gt;Download this freeware here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-8862485206356546027?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=N-mgW19ssP4:3CyzvoLmR9Y:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=N-mgW19ssP4:3CyzvoLmR9Y:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=N-mgW19ssP4:3CyzvoLmR9Y:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=N-mgW19ssP4:3CyzvoLmR9Y:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=N-mgW19ssP4:3CyzvoLmR9Y:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=N-mgW19ssP4:3CyzvoLmR9Y:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/N-mgW19ssP4/robomind-learn-programming-in-easy-way.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/robomind-learn-programming-in-easy-way.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-706486008786741506</guid><pubDate>Tue, 18 Nov 2008 03:03:00 +0000</pubDate><atom:updated>2008-11-18T08:36:05.149+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Free Tools</category><title>Rename Recycle Bin on your desktop.</title><description>This file will change the Icons and names of the Recycle Bin, my computer, and Network Neighborhood for you. It will even restore the defaults when you want. FREEWARE. Note you should delete the file ShellIconCache after making the changes. This file will rebuild itself after rebooting. FREEWARE &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.easydesksoftware.com/zips/Rechan.zip"&gt;Grab this freeware here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-706486008786741506?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=lBPSIrvTm7w:weNMZxIaRWo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=lBPSIrvTm7w:weNMZxIaRWo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=lBPSIrvTm7w:weNMZxIaRWo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=lBPSIrvTm7w:weNMZxIaRWo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=lBPSIrvTm7w:weNMZxIaRWo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=lBPSIrvTm7w:weNMZxIaRWo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/lBPSIrvTm7w/rename-recycle-bin-on-your-desktop.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><enclosure url="http://www.easydesksoftware.com/zips/Rechan.zip" length="201757" type="application/zip" /><media:content url="http://www.easydesksoftware.com/zips/Rechan.zip" fileSize="201757" type="application/zip" /><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/rename-recycle-bin-on-your-desktop.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-8325463288427472803</guid><pubDate>Tue, 18 Nov 2008 02:26:00 +0000</pubDate><atom:updated>2008-11-18T08:02:35.103+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Language</category><title>Why pointer used in C?</title><description>Imagine that you would like to create a &lt;b&gt;text editor&lt;/b&gt; -- a program that lets you edit normal ASCII text files, like "vi" on UNIX or "Notepad" on Windows. A text editor is a fairly common thing for someone to create because, if you think about it, a text editor is probably a programmer's most commonly used piece of software. The text editor is a programmer's intimate link to the computer -- it is where you enter all of your thoughts and then manipulate them. Obviously, with anything you use that often and work with that closely, you want it to be just right. Therefore many programmers create their own editors and customize them to suit their individual working styles and preferences.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt; &lt;p&gt;So one day you sit down to begin working on your editor. After thinking about the features you want, you begin to think about the "data structure" for your editor. That is, you begin thinking about how you will store the document you are editing in memory so that you can manipulate it in your program. What you need is a way to store the information you are entering in a form that can be manipulated quickly and easily. You believe that one way to do that is to organize the data on the basis of lines of characters. Given what we have discussed so far, the only thing you have at your disposal at this point is an array. You think, "Well, a typical line is 80 characters long, and a typical file is no more than 1,000 lines long." You therefore declare a &lt;b&gt;two-dimensional array&lt;/b&gt;, like this: &lt;/p&gt;&lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;char doc[1000][80];&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt; This declaration requests an array of 1,000 80-character lines. This array has a total size of 80,000 characters. &lt;/p&gt;&lt;p&gt; As you think about your editor and its data structure some more, however, you might realize three things: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Some documents are long lists. Every line is short, but there are thousands of lines. &lt;p&gt; &lt;/p&gt;&lt;/li&gt;&lt;li&gt;Some special-purpose text files have very long lines. For example, a certain data file might have lines containing 542 characters, with each character representing the amino acid pairs in segments of DNA. &lt;p&gt; &lt;/p&gt;&lt;/li&gt;&lt;li&gt;In most modern editors, you can open multiple files at one time. &lt;/li&gt;&lt;/ul&gt; Let's say you set a maximum of 10 open files at once, a maximum line length of 1,000 characters and a maximum file size of 50,000 lines. Your declaration now looks like this: &lt;p&gt; &lt;span style="color:blue;"&gt; &lt;pre&gt;char doc[50000][1000][10];&lt;br /&gt;&lt;/pre&gt; &lt;/span&gt; &lt;/p&gt;&lt;p&gt;That doesn't seem like an unreasonable thing, until you pull out your calculator, multiply 50,000 by 1,000 by 10 and realize the array contains 500 million characters! Most computers today are going to have a problem with an array that size. They simply do not have the RAM, or even the virtual memory space, to support an array that large. If users were to try to run three or four copies of this program simultaneously on even the largest multi-user system, it would put a severe strain on the facilities. &lt;/p&gt;&lt;p&gt;Even if the computer would accept a request for such a large array, you can see that it is an extravagant waste of space. It seems strange to declare a 500 million character array when, in the vast majority of cases, you will run this editor to look at 100 line files that consume at most 4,000 or 5,000 bytes. The problem with an array is the fact that &lt;b&gt;you have to declare it to have its maximum size in every dimension from the beginning.&lt;/b&gt; Those maximum sizes often multiply together to form very large numbers. Also, if you happen to need to be able to edit an odd file with a 2,000 character line in it, you are out of luck. There is really no way for you to predict and handle the maximum line length of a text file, because, technically, that number is infinite. &lt;/p&gt;&lt;p&gt; Pointers are designed to solve this problem. With pointers, you can create &lt;b&gt;dynamic data structures&lt;/b&gt;. Instead of declaring your worst-case memory consumption up-front in an array, you instead &lt;b&gt;allocate&lt;/b&gt; memory from &lt;b&gt;the heap&lt;/b&gt; while the program is running. That way you can use the exact amount of memory a document needs, with no waste. In addition, when you close a document you can return the memory to the heap so that other parts of the program can use it. With pointers, memory can be recycled while the program is running. &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-8325463288427472803?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=fM2AE5D72r8:wNcW9Be1guQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=fM2AE5D72r8:wNcW9Be1guQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=fM2AE5D72r8:wNcW9Be1guQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=fM2AE5D72r8:wNcW9Be1guQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=fM2AE5D72r8:wNcW9Be1guQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=fM2AE5D72r8:wNcW9Be1guQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/fM2AE5D72r8/why-pointer-used-in-c.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/why-pointer-used-in-c.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1563359437557968490.post-5714021094264461125</guid><pubDate>Tue, 18 Nov 2008 01:27:00 +0000</pubDate><atom:updated>2008-11-18T07:02:34.636+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Traffic</category><title>10 Rules for Driving Traffic Using Forums(Part-1)</title><description>&lt;p&gt;&lt;strong&gt;Visitors to your web site by way of forums are worth two to six times the average visitor. Why? Well, I’ve found that forum visitors are proactive information seekers, community-minded participants, and engaged users. They do more everything.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The evidence: traffic to my own blog.&lt;/p&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;  &lt;p&gt;In this article, I’m going to show you why you should use forums to drive traffic to your web site, and then give you ten rules for how to go about doing so. As an example, I’ll discuss a forum that I participate in that is &lt;span class="sublink"&gt;SitePoint Forums&lt;/span&gt;.&lt;/p&gt;  &lt;p&gt;I use this forum for three reasons:&lt;/p&gt;  &lt;ol&gt;&lt;li&gt;It’s a forum largely for web developers, and I have experience in this field, so I can have thoughtful discussions with my peers.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;My expertise as an online marketer complements the typical forum member: web designers and developers.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;My site’s target audience overlaps with the forum’s audience.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;   &lt;p&gt;Although the SitePoint forum does not deliver thousands of visitors to my blog each month, the forum traffic is of the highest quality. They read more, participate more, and come back for more.&lt;/p&gt;  &lt;h5&gt;The Evidence&lt;/h5&gt;    &lt;p&gt;Here is some of my analytics data from the past two months. We’ll compare average metrics for visitors coming from the SitePoint forum to the averages for all site visitors.&lt;/p&gt;  &lt;p&gt;Note: This is a useful exercise for you to conduct with your own site. Once you’ve established which sites are referring the most high quality traffic, redouble your efforts at those sites.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i2.sitepoint.com/graphics/1669_bounce.png" alt="Bounce Rate 30%" width="160" height="65" /&gt;&lt;/p&gt;  &lt;p&gt;Normally, &lt;strong&gt;71% of my visitors leave without viewing a second page&lt;/strong&gt; (they were expecting someone taller). Only &lt;strong&gt;30%&lt;/strong&gt; of my visitors from the forum leave immediately.&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i2.sitepoint.com/graphics/1669_newvisits.png" alt="New Visits 25%" width="165" height="64" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;83% of my visitors are new&lt;/strong&gt; to the site. But when they come from the forum, &lt;strong&gt;75% are returning&lt;/strong&gt; for a second time (or more).&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i2.sitepoint.com/graphics/1669_ppv.png" alt="9.25 Pages/Visit" width="151" height="63" /&gt;&lt;/p&gt;  &lt;p&gt;The average visitor only looks at &lt;strong&gt;2.5 pages&lt;/strong&gt; on my site. Visitors from the forum look at &lt;strong&gt;over 9&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i2.sitepoint.com/graphics/1669_time.png" alt="17:55 Minutes Spent on Site" width="171" height="65" /&gt;&lt;/p&gt;  &lt;p&gt;When someone from the forums comes to my web site, &lt;strong&gt;they spend an average of 18 minutes&lt;/strong&gt; on my site. That’s &lt;strong&gt;532%&lt;/strong&gt; of the average for all of my visitors, who visit for &lt;strong&gt;3 minutes&lt;/strong&gt; on average.&lt;/p&gt;  &lt;p&gt;These numbers demonstrate that visitors from SitePoint are more engaged with my site, more interested in what I have to say, and more likely to return. The average visitor from the forum appears to be worth &lt;strong&gt;2 to 6 times an average visitor&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;This is important whether your visitor’s intended action is to read your content, or to buy your product. Engaged visitors are more easily reached with your message.&lt;/p&gt;  &lt;h5&gt;Why Forum Users Are Qualified&lt;/h5&gt;    &lt;p&gt;Forum visitors are interested in self-education and connecting with like-minded people. They’ve already sampled some of your writing, since they followed a link associated with something you said in the forum. And by clicking on that link, these visitors are saying, “tell me more!”&lt;/p&gt;  &lt;p&gt;Even if it seems impossible to drive forum traffic to your site, you should participate. Forums are a great place to learn about the topics that interest you, and you can also use them to build networks of contacts—, professional and personal.&lt;/p&gt;  &lt;p&gt;This inherent value in forums is exactly why they produce quality visitors. People who click are already qualified visitors.&lt;/p&gt;  &lt;h5&gt;Forums Are for Humans, Not Search Engines&lt;/h5&gt;    &lt;p&gt;It’s important that my web site isn’t a rehash of the information forum visitors already know. Most SitePoint readers are web designers and developers first, marketers second, so I have something to offer them.&lt;/p&gt;  &lt;p&gt;Remember, forums are for driving &lt;em&gt;human traffic&lt;/em&gt; to your site, not for boosting your search engine rankings. Some &lt;span class="glossary"&gt;SEO&lt;/span&gt; bloggers suggest posting on forums as a way to build links pointing to your domain. Creating a link in your signature means that every post you make on the forum will refer to your site.&lt;/p&gt;  &lt;p&gt;However, these links aren’t as useful for SEO as you might expect. Forum threads are rarely considered authoritative by engines, since they’re not used to link to. Forum pages also have hundreds of outbound links, well over the number recommended by the &lt;span class="sublink"&gt;official Google guidelines&lt;/span&gt;. Whatever authority the page has is diminished by the abundance of links.&lt;/p&gt;  &lt;p&gt;But make no mistake: a signature link is best practice. It’s a way of promoting yourself in a valuable way without being brash. People reading your comments need a way to learn more about who you are and what you do, so a link to your site is value-added content.&lt;/p&gt;  &lt;p&gt;Signature links aren’t for search engines, they’re for people. Any SEO benefit is peripheral.&lt;/p&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563359437557968490-5714021094264461125?l=bcahelper.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Xx_7qoBhZcc:u7l-3ZcoF10:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Xx_7qoBhZcc:u7l-3ZcoF10:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Xx_7qoBhZcc:u7l-3ZcoF10:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Xx_7qoBhZcc:u7l-3ZcoF10:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/BcaHelper?a=Xx_7qoBhZcc:u7l-3ZcoF10:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/BcaHelper?i=Xx_7qoBhZcc:u7l-3ZcoF10:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/BcaHelper/~3/Xx_7qoBhZcc/10-rules-for-driving-traffic-using.html</link><author>noreply@blogger.com (Arafat)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://bcahelper.blogspot.com/2008/11/10-rules-for-driving-traffic-using.html</feedburner:origLink></item><language>en-us</language><media:rating>nonadult</media:rating></channel></rss>
