<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-835598213604448788</atom:id><lastBuildDate>Fri, 08 Nov 2024 15:35:52 +0000</lastBuildDate><category>C++</category><category>introduction</category><category>c plus plus</category><category>prog-pic-quotes</category><category>c++ program</category><category>Source program</category><category>compiler</category><category>cpp</category><category>interpreter</category><category>learn c plus plus</category><category>machine</category><category>motivational-pic</category><category>steve jobs Quotes</category><category>translator</category><category>Bill Gates</category><category>Bjarne stroustrup</category><category>Dennis Ritchie</category><category>Hello world</category><category>Linus Torvalds</category><category>Mark Zuckerberg programming quote</category><category>Martin Fowler programming quote</category><category>Object code</category><category>Program to calculate sum and product</category><category>Structure of C++</category><category>Target program</category><category>binary</category><category>binary code</category><category>code</category><category>computer</category><category>cpp-basics</category><category>creative</category><category>decimal number</category><category>editor</category><category>funny-prog</category><category>inspirations</category><category>iostream.h</category><category>language</category><category>life</category><category>main components</category><category>other</category><category>programmes</category><category>programming</category><category>programming language</category><category>string</category><category>text-Quotes</category><category>transistor</category><category>translation</category><category>translation to binary</category><title>Learn C plus plus </title><description>This blog is designed to help you learn C++ programming language.  Understandable programming tutorials, source code, tips &amp;amp; tricks and many more&#xa;</description><link>http://learn-cpluspluss.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-2038552240119139269</guid><pubDate>Fri, 22 May 2015 10:30:00 +0000</pubDate><atom:updated>2015-05-22T15:00:00.826+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">c++ program</category><category domain="http://www.blogger.com/atom/ns#">Program to calculate sum and product</category><category domain="http://www.blogger.com/atom/ns#">programmes</category><title>A program to calculate Sum and Product</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border-spacing: 0px; border: 0px; color: #444444; font-family: &#39;Droid Sans&#39;; font-size: 14px; font-stretch: inherit; line-height: 22.3999996185303px; margin: 1.5em auto; max-width: 100%; padding: 0px; vertical-align: baseline; width: 696px;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(216, 221, 225); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0.2em 0.5em; vertical-align: top;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This program shows how to calculate the sum and product of two value.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #e4e4e3; padding: 5px 8px 5px 8px;&quot;&gt;
#include&amp;lt;iostream.h&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;
{&lt;br /&gt;
int n1, n2 , s, p;&lt;br /&gt;
clrscr();&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Enter the &amp;nbsp;first value &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
cin&amp;gt;&amp;gt;n1;&lt;br /&gt;
cout&amp;lt;&amp;lt;Enter the Second value &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
cin&amp;gt;&amp;gt;n2;&lt;br /&gt;
&lt;br /&gt;
s=n1+n2;&lt;br /&gt;
p=n1*n2;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;The sum of two Values = &quot;&amp;lt;&amp;lt;s&amp;lt;&amp;lt;endl;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;The Product of Two values = &quot;&amp;lt;&amp;lt;p&amp;lt;&amp;lt;endl;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;The &quot; endl &quot; Manipulator&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
The &quot;endl&quot; stands for end of line. It has same effect as the escape sequence &quot;\n&quot; and also&lt;br /&gt;
this is a predefined &#39; iostream.h &#39;manipulator.&lt;br /&gt;
&lt;br /&gt;
For example&lt;br /&gt;
&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;&lt;span style=&quot;background-color: #e4e4e3; color: #444444; font-family: &#39;Droid Sans&#39;; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;Enter the &amp;nbsp;first&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #e4e4e3; color: #444444; font-family: &#39;Droid Sans&#39;; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;value&lt;/span&gt;&amp;nbsp;\n&quot;;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;&lt;span style=&quot;background-color: #e4e4e3; color: #444444; font-family: &#39;Droid Sans&#39;; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;Enter the &amp;nbsp;first&lt;/span&gt;&lt;span style=&quot;background-color: #e4e4e3; color: #444444; font-family: &#39;Droid Sans&#39;; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #e4e4e3; color: #444444; font-family: &#39;Droid Sans&#39;; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;value&lt;/span&gt;&amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;-|&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&lt;a href=&quot;http://maisam-af.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Maisam Afshar&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/05/a-program-to-calculate-sum-and-product.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-3163539739755077057</guid><pubDate>Thu, 21 May 2015 08:13:00 +0000</pubDate><atom:updated>2015-05-21T12:43:03.412+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">c++ program</category><category domain="http://www.blogger.com/atom/ns#">Object code</category><category domain="http://www.blogger.com/atom/ns#">Source program</category><title>Writing c ++ program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;The source code of c ++ program is stored on the disk with &quot; cpp &quot; extension (&lt;b&gt;cpp &lt;/b&gt;stand &lt;i&gt;c plus plus&lt;/i&gt;). The program is stored in a text file on the disk. Any text editor can be used to write and edit &lt;span style=&quot;color: red;&quot;&gt;C++&lt;/span&gt; source code.&lt;br /&gt;&lt;br /&gt;The &lt;span style=&quot;color: red;&quot;&gt;C++&lt;/span&gt; compiler translates a &lt;i&gt;C++&lt;/i&gt; program into the machine code. the &lt;i&gt;machine code&lt;/i&gt; is called &lt;b&gt;object code &lt;/b&gt;which&amp;nbsp;is stored in a new file with the &quot;.obj&quot; extension.&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;object code&lt;/b&gt; is then linked to the libraries. After linking the object code to the libraries, an executable file with extension &quot;&lt;b&gt;.exe&lt;/b&gt;&quot; is created. The executable program is then run from operating system command line.&amp;nbsp;&lt;div&gt;
&lt;br /&gt;For example a source code of program in &lt;i&gt;C++&lt;/i&gt; is written and stored in file First.cpp, After compilation the object code is saved in file First.obj and executable code is stored in file First .exe.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Written by: | &lt;span style=&quot;color: red;&quot;&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Learn C plus plus&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;|&amp;nbsp;- @&lt;a href=&quot;http://maisam-af.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Maisam Afshar&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipktQipNIsKE-Q1BueiiYkdmtOdXOhG62bH1xuGOg7kYD19KLSjLtlTqRsP9F2RPyghRMVeUAMieMYhOx9ATmS5DOHEco1mTS56PI_O5MhOY9aUv_HApP3ZsgtZR8UE2yy1Q9CJHmsoWH9/s1600/learn+c%252B%252B+cover.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipktQipNIsKE-Q1BueiiYkdmtOdXOhG62bH1xuGOg7kYD19KLSjLtlTqRsP9F2RPyghRMVeUAMieMYhOx9ATmS5DOHEco1mTS56PI_O5MhOY9aUv_HApP3ZsgtZR8UE2yy1Q9CJHmsoWH9/s640/learn+c%252B%252B+cover.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/05/writing-cpp-program.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipktQipNIsKE-Q1BueiiYkdmtOdXOhG62bH1xuGOg7kYD19KLSjLtlTqRsP9F2RPyghRMVeUAMieMYhOx9ATmS5DOHEco1mTS56PI_O5MhOY9aUv_HApP3ZsgtZR8UE2yy1Q9CJHmsoWH9/s72-c/learn+c%252B%252B+cover.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-7840008508582629571</guid><pubDate>Sun, 10 May 2015 15:24:00 +0000</pubDate><atom:updated>2015-05-10T19:55:01.482+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">creative</category><category domain="http://www.blogger.com/atom/ns#">life</category><category domain="http://www.blogger.com/atom/ns#">motivational-pic</category><title>Creativity is not a hobby</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYEMt9aOkLABApDgCNV5QdQMETTwgTSdEyYZcXoX8byQrvVmwk5ij8YCweTbuVkG-P3l3LZc7VU-EsxVr5Y6jwawn1fWmXRNylzBLtZTEvkIWrby63_aab8H0OfypOt604KjCk6-GPWY9u/s1600/creativity-is-not-hobby-be+positive.share+positive%5Bfb%5D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYEMt9aOkLABApDgCNV5QdQMETTwgTSdEyYZcXoX8byQrvVmwk5ij8YCweTbuVkG-P3l3LZc7VU-EsxVr5Y6jwawn1fWmXRNylzBLtZTEvkIWrby63_aab8H0OfypOt604KjCk6-GPWY9u/s400/creativity-is-not-hobby-be+positive.share+positive%5Bfb%5D.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/05/creativity-is-not-hobby.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYEMt9aOkLABApDgCNV5QdQMETTwgTSdEyYZcXoX8byQrvVmwk5ij8YCweTbuVkG-P3l3LZc7VU-EsxVr5Y6jwawn1fWmXRNylzBLtZTEvkIWrby63_aab8H0OfypOt604KjCk6-GPWY9u/s72-c/creativity-is-not-hobby-be+positive.share+positive%5Bfb%5D.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-2334323480692109749</guid><pubDate>Wed, 06 May 2015 06:17:00 +0000</pubDate><atom:updated>2015-05-06T10:53:07.428+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bill Gates</category><category domain="http://www.blogger.com/atom/ns#">other</category><category domain="http://www.blogger.com/atom/ns#">steve jobs Quotes</category><category domain="http://www.blogger.com/atom/ns#">text-Quotes</category><title>steve Jobs, Bill Gates Quotes</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div id=&quot;words&quot;&gt;
&lt;ul class=&quot;word-container&quot;&gt;
&lt;li data-author=&quot;---  Maisam Afshar&quot; data-easeout=&quot;lightSpeedOut&quot;&gt;There&#39;s no limit for dreams and achievements unless you believe it.&lt;/li&gt;
&lt;li data-author=&quot;---  Bill Gates&quot;&gt;“If you can’t make it good, at least make it look good.” &lt;/li&gt;
&lt;li data-author=&quot;---  Steve Jobs&quot; data-easeout=&quot;fadeOutDown&quot;&gt;“Innovation distinguishes between a leader and a follower.”&lt;/li&gt;
&lt;li data-author=&quot;---   Bill Gates&quot; data-easein=&quot;fadeInDown&quot;&gt;“‘I don’t know’ has become ‘I don’t know yet’.”&lt;/li&gt;
&lt;li data-author=&quot;---  Arlo Guthrie &quot; data-easein=&quot;bounceIn&quot;&gt;You can&#39;t have a light without a dark to stick it in. &lt;/li&gt;
&lt;li data-author=&quot;---   Steve Jobs&quot; data-easein=&quot;fadeInDown&quot;&gt;“Quality is much better than quantity. One home run is much better than two doubles.”&lt;/li&gt;
&lt;li data-author=&quot;---  Bill Gates (Microsoft)&quot; data-easeout=&quot;bounceOut&quot;&gt;It&#39;s fine to celebrate success but it is more important to heed the lessons of failure.&lt;/li&gt;
&lt;li data-author=&quot;---  Bill Gates (Microsoft)&quot; data-easein=&quot;lightSpeedIn&quot;&gt;If you think your teacher is tough, wait until you get a boss.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipktQipNIsKE-Q1BueiiYkdmtOdXOhG62bH1xuGOg7kYD19KLSjLtlTqRsP9F2RPyghRMVeUAMieMYhOx9ATmS5DOHEco1mTS56PI_O5MhOY9aUv_HApP3ZsgtZR8UE2yy1Q9CJHmsoWH9/s1600/learn+c+++cover.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipktQipNIsKE-Q1BueiiYkdmtOdXOhG62bH1xuGOg7kYD19KLSjLtlTqRsP9F2RPyghRMVeUAMieMYhOx9ATmS5DOHEco1mTS56PI_O5MhOY9aUv_HApP3ZsgtZR8UE2yy1Q9CJHmsoWH9/s1600/learn+c+++cover.jpg&quot; height=&quot;272&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;quote&quot;&gt;
&lt;div class=&quot;quote-content&quot;&gt;
&lt;/div&gt;
&lt;cite class=&quot;quote-author&quot;&gt;&lt;/cite&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;link href=&quot;https://googledrive.com/host/0B0WJjcJEFNziaGlLbi04Uk00b3c&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;

&lt;script src=&quot;https://googledrive.com/host/0B0WJjcJEFNzid180dVRuai1WQ1U&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

 &lt;script&gt;
 jQuery(document).ready(function($) {
  $(&#39;#words&#39;).quoteRotator();
 });
 &lt;/script&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/05/steve-jobs-bill-gates-quotes.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipktQipNIsKE-Q1BueiiYkdmtOdXOhG62bH1xuGOg7kYD19KLSjLtlTqRsP9F2RPyghRMVeUAMieMYhOx9ATmS5DOHEco1mTS56PI_O5MhOY9aUv_HApP3ZsgtZR8UE2yy1Q9CJHmsoWH9/s72-c/learn+c+++cover.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-4215535026258024277</guid><pubDate>Mon, 27 Apr 2015 16:41:00 +0000</pubDate><atom:updated>2015-04-27T21:38:14.121+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">c++ program</category><category domain="http://www.blogger.com/atom/ns#">Hello world</category><category domain="http://www.blogger.com/atom/ns#">iostream.h</category><category domain="http://www.blogger.com/atom/ns#">string</category><title>First c++ Program-Hello World!</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN&quot;&gt;As we have already discussed enough about basic
c++&amp;nbsp; introduction, and also about the
Syntax of a c++ program so now we are ready to start our first programming
example. The very first program which is very easy and also used widely in
learning a programming language; writing a single phrase on the screen. First i
present you the code , and then i will discuss what it actually means.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/li&gt;
&lt;li&gt;void main ()&lt;/li&gt;
&lt;li&gt;{&lt;/li&gt;
&lt;li&gt;cout &amp;lt;&amp;lt;&quot; Hello World! &quot;;&lt;/li&gt;
&lt;li&gt;}&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
The first line tells the compiler that we want to link the
iostream.h library to our program. A Library is a kind of repository that
stores codes, called functions, which we can use. They also store variables and
operators. The “iostream.h “Library contains code that allows us to use output
and input statements.&lt;br /&gt;
&lt;br /&gt;
The second line “Void main () “indicates the beginning of a C++ program. The
function “main ()” must be included in every C++ program. When a C++ program is
executed, the control goes directly to the “main ()” function. The statements
within this function are the main body of the C++ program. If main () function is
not included, the program is not compiled and an error message will be generated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
The third line of the code is the starting
of actual programming cod, which is also called code block. Everything inside
those braces ({}) are read and translated by the compiler, we always need this
starting “{“ in our codes, if not nothing will happen, and it would be useless.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
The Fourth line of the code is the
actual statement that we want to output or show on the screen, For that we need
to use some codes which is already stored inside iostream.h that we have already
discussed. The cout sends output to the computer screen that we have discussed
it in earlier post.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
At the end of the following topic you may find more about&quot; Cout&quot;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
Check it here ---- &amp;gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #0b5394; font-family: inherit; font-size: medium; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/structure-of-cpp-program.html&quot; target=&quot;_blank&quot;&gt;The &quot;cout&quot;object-output stream&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
This ( &amp;lt;&amp;lt; ) is called an operator
which means output and together with cout , it means send output the following to
the screen. The “Hello World! “Is called a string. A String is a sequence of
characters which are shown and enclosed inside double quotation marks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: red; font-size: 8.0pt; line-height: 115%; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri;&quot;&gt;Note: This line ends with semicolon (;) which represents the
ending of this statement, and if not used the program won’t be compiled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
In the last you have to use that closing
braces (}) which shows the ending of the code blocks ,if not used the program
won’t be compiled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
Now you may compile your source program.&lt;br /&gt;
&lt;span style=&quot;color: red; font-size: 10.0pt; line-height: 115%; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri;&quot;&gt;Important: If your program
closes straight away, you may use” getch(); “ function before the closing of
the programming block to stop the output on the screen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
If you’re having any difficulty you may
ask It in the comment section.&lt;span style=&quot;font-size: 12.0pt; line-height: 115%; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Written by : &lt;a href=&quot;http://maisam-af.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Maisam Afshar&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCesCK0USy5_KEGV4OXwvEgl0V2BDvnlYxMT7nsyvYG3w1oRl5_t9iVeUoyyJ-ppFnSXmBBC0EV372oToEC6FL4HJQrFoPDYGt0P0PsnkSW5RdDJT17j0a1rZAJsTjkdmpsrPn4uFvquj/s1600/Hello+world.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCesCK0USy5_KEGV4OXwvEgl0V2BDvnlYxMT7nsyvYG3w1oRl5_t9iVeUoyyJ-ppFnSXmBBC0EV372oToEC6FL4HJQrFoPDYGt0P0PsnkSW5RdDJT17j0a1rZAJsTjkdmpsrPn4uFvquj/s1600/Hello+world.jpg&quot; height=&quot;300&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 115%; margin-bottom: 10.0pt; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/Hello-world.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCesCK0USy5_KEGV4OXwvEgl0V2BDvnlYxMT7nsyvYG3w1oRl5_t9iVeUoyyJ-ppFnSXmBBC0EV372oToEC6FL4HJQrFoPDYGt0P0PsnkSW5RdDJT17j0a1rZAJsTjkdmpsrPn4uFvquj/s72-c/Hello+world.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-5493690723276798290</guid><pubDate>Thu, 16 Apr 2015 02:24:00 +0000</pubDate><atom:updated>2015-04-16T06:54:21.262+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">funny-prog</category><category domain="http://www.blogger.com/atom/ns#">learn c plus plus</category><title>If ( thirsty==true)</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_cfYQhG5C1NTwi3VkQtlLOk9u0z13Se0mccqiwPwwXfIfCXnUfhSSzfpWAaeTJCCNZdAGEJ5DVMoM0C6f7OkIYXr_gUnLXaVfB91_TG-cXyj5O2D3L_9EvPD9y9D_ppf36hgaeBSR95_p/s1600/code-learn-cpluspluss.blogspot.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_cfYQhG5C1NTwi3VkQtlLOk9u0z13Se0mccqiwPwwXfIfCXnUfhSSzfpWAaeTJCCNZdAGEJ5DVMoM0C6f7OkIYXr_gUnLXaVfB91_TG-cXyj5O2D3L_9EvPD9y9D_ppf36hgaeBSR95_p/s1600/code-learn-cpluspluss.blogspot.jpg&quot; height=&quot;299&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/if-thirstytrue.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_cfYQhG5C1NTwi3VkQtlLOk9u0z13Se0mccqiwPwwXfIfCXnUfhSSzfpWAaeTJCCNZdAGEJ5DVMoM0C6f7OkIYXr_gUnLXaVfB91_TG-cXyj5O2D3L_9EvPD9y9D_ppf36hgaeBSR95_p/s72-c/code-learn-cpluspluss.blogspot.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-4169380419715379136</guid><pubDate>Sun, 12 Apr 2015 22:30:00 +0000</pubDate><atom:updated>2015-04-17T22:02:16.153+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">cpp-basics</category><category domain="http://www.blogger.com/atom/ns#">Structure of C++</category><title>Structure of C++ Program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
A &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;C++&lt;/span&gt;&lt;/b&gt;&lt;/a&gt; Program consists of three main parts, These are:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;Preprocessor Directives&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;The main () Function&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;C++&lt;/span&gt;&lt;/a&gt; &lt;b&gt;Statements&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Preprocessor Directives:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The instructions that are given to the &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html&quot; target=&quot;_blank&quot;&gt;compiler &lt;/a&gt;before the beginning of the actual program are called preprocessor directives. These are also known as compiler directives. &lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;These directives normally start with a number sign &lt;/span&gt;# &lt;span style=&quot;font-weight: normal;&quot;&gt;and keyword &quot;&lt;/span&gt;include&lt;span style=&quot;font-weight: normal;&quot;&gt;&quot; or &quot;&lt;/span&gt;define &lt;span style=&quot;font-weight: normal;&quot;&gt;&quot;.&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;Preprocessor directives are used to include &lt;/span&gt;header &lt;span style=&quot;font-weight: normal;&quot;&gt;files in the program.&lt;/span&gt;&lt;/blockquote&gt;
&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;/h3&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Header file :&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Header file is a C++ source file that contains definition of library functions . Header files are added into program at the time of compilation of the program. A header file is added if the function /object defined in it is to be used in the program.&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The preprocessor directive “include” is used to add a &lt;i&gt;header file&lt;/i&gt; into the program. The name of file is written in angle bracket &amp;lt; &amp;gt; after “&lt;/span&gt;# include&lt;span style=&quot;font-weight: normal;&quot;&gt;” directive. It can also be written in double quotes.&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;C++ has a large number of &lt;/span&gt;header files&lt;span style=&quot;font-weight: normal;&quot;&gt; in which library functions are defined. The &lt;i&gt;header file&lt;/i&gt; must be included in the program before calling its functions in the program.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;A single &lt;/span&gt;&lt;i style=&quot;font-weight: normal;&quot;&gt;header file&lt;/i&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; may contain a large number of built in library functions.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;For example ,the header file iostream.h has definition of different built in input output objects and functions.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h3&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;main function&lt;/span&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The “main ()” function indicates the beginning of a C++ program.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The “main()” must be included in every C++ program.&amp;nbsp;&lt;/span&gt;&lt;ul style=&quot;font-weight: normal; text-align: left;&quot;&gt;
&lt;li&gt;When a C++ program is executed, the control goes directly to the main() function.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;font-weight: normal; text-align: left;&quot;&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;font-weight: normal; text-align: left;&quot;&gt;
&lt;li&gt;The statements within this function are the main body of the C++ program.&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;•If main() function is not included, the program is  not compiled and an error message is generated .&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;The syntax of main() function is :&lt;br /&gt;&lt;span style=&quot;background-color: #e06666;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;main ()&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #e06666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #e06666;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;background-color: #e06666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #e06666;&quot;&gt;program statement….&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;background-color: #e06666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #e06666;&quot;&gt;}&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #e06666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Basic Input/Output Statement&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;h4&gt;
&lt;/h4&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Input Statement&lt;/span&gt;: &amp;nbsp;Those statements which are used to get data and then assign it to variables are known as &lt;/span&gt;input statements&lt;span style=&quot;font-weight: normal;&quot;&gt;,&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Output Statements&lt;/span&gt; : Those statements which are used to receive data from the computer memory and then send it to the output devices are called &lt;/span&gt;output statements&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;The &quot;cout&quot;object-output stream&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The &quot;&lt;/span&gt;cout&quot;&amp;nbsp;&lt;span style=&quot;font-weight: normal;&quot;&gt;is pronounced as ‘see out’. The ’&lt;/span&gt;cout&lt;span style=&quot;font-weight: normal;&quot;&gt;’ stands for console output. The console represents the computer display screen. The ‘&lt;/span&gt;cout&lt;span style=&quot;font-weight: normal;&quot;&gt;’ is a &lt;/span&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;c++&lt;/a&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; predefined object, it is  used as an output statement to display &lt;/span&gt;output &lt;span style=&quot;font-weight: normal;&quot;&gt;on the computer screen and it is a part of &quot;&lt;/span&gt;iostream&quot;&amp;nbsp;&lt;span style=&quot;font-weight: normal;&quot;&gt;header file.&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;Stream &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;:flow of data from one location to another is called &lt;/span&gt;&lt;b&gt;stream&lt;/b&gt;.&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The ‘ cout ’ is standard output stream in &lt;b&gt;c++&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;This &lt;/span&gt;&lt;b&gt;stream &lt;/b&gt;sends the output to the computer screen.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Syntax of &quot;Cout&quot;&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;cout&amp;lt;&amp;lt;constant/variable;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;‘&lt;/span&gt;cout &lt;span style=&quot;font-weight: normal;&quot;&gt;‘ is name of output stream object.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;  ‘&lt;/span&gt;&amp;lt;&amp;lt;&lt;span style=&quot;font-weight: normal;&quot;&gt;‘ insertion operator , separates variable, constants.&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The string constant are given in a double quotation marks.&lt;/li&gt;
&lt;li&gt;numeric constants , variables and expressions are without quotation marks.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;Written &amp;amp; Edited by: &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Learn C Plus Plus&lt;/a&gt;&lt;/span&gt;- (&lt;a href=&quot;http://maisam-af.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Maisam Afshar&lt;/a&gt;)&lt;/div&gt;
&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/structure-of-cpp-program.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-6002209416479139143</guid><pubDate>Sat, 11 Apr 2015 18:01:00 +0000</pubDate><atom:updated>2015-04-11T22:31:14.057+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">inspirations</category><category domain="http://www.blogger.com/atom/ns#">motivational-pic</category><title>Inspirations: Yesterday you said Tomorrow</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLonWVjMySt9CbHVm72Kuuk6w57cdK09Vqm09RTfFb3mgszwecIXDFvQje-2sBg3xrbYN8HeFYU2ew6OWA-qaN4UgG33LDzJv9QtLcBVDRGCsuG4csOG5tWPYvX3A3XLFuATSAhO__CcIT/s1600/Motivational+quotes+cool+sayin.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLonWVjMySt9CbHVm72Kuuk6w57cdK09Vqm09RTfFb3mgszwecIXDFvQje-2sBg3xrbYN8HeFYU2ew6OWA-qaN4UgG33LDzJv9QtLcBVDRGCsuG4csOG5tWPYvX3A3XLFuATSAhO__CcIT/s1600/Motivational+quotes+cool+sayin.jpg&quot; height=&quot;528&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/inspirations-yesterday-you-said-tomorrow.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLonWVjMySt9CbHVm72Kuuk6w57cdK09Vqm09RTfFb3mgszwecIXDFvQje-2sBg3xrbYN8HeFYU2ew6OWA-qaN4UgG33LDzJv9QtLcBVDRGCsuG4csOG5tWPYvX3A3XLFuATSAhO__CcIT/s72-c/Motivational+quotes+cool+sayin.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-6542675296493296239</guid><pubDate>Sat, 11 Apr 2015 17:33:00 +0000</pubDate><atom:updated>2015-04-11T22:03:55.930+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linus Torvalds</category><category domain="http://www.blogger.com/atom/ns#">prog-pic-quotes</category><title>Linus Torvalds: Most good programmers </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCbbwNldpVTIqowxGXXrmR2beetNIk_hBnM4H_OQwXDJrrLn1XPvQxwut-KlP8WT_vjzxIn2ltxifCcmBMb3n4TgXEB-2OofljuDPN89WbctO8lZPGBaqSS-cVhIW_UjExk2E5WZyIVAoA/s1600/Linus+torvalds.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCbbwNldpVTIqowxGXXrmR2beetNIk_hBnM4H_OQwXDJrrLn1XPvQxwut-KlP8WT_vjzxIn2ltxifCcmBMb3n4TgXEB-2OofljuDPN89WbctO8lZPGBaqSS-cVhIW_UjExk2E5WZyIVAoA/s1600/Linus+torvalds.jpg&quot; height=&quot;203&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/linus-torvalds-most-good-programmers.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCbbwNldpVTIqowxGXXrmR2beetNIk_hBnM4H_OQwXDJrrLn1XPvQxwut-KlP8WT_vjzxIn2ltxifCcmBMb3n4TgXEB-2OofljuDPN89WbctO8lZPGBaqSS-cVhIW_UjExk2E5WZyIVAoA/s72-c/Linus+torvalds.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-3853316282949032011</guid><pubDate>Sat, 11 Apr 2015 17:21:00 +0000</pubDate><atom:updated>2015-04-11T22:05:58.533+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mark Zuckerberg programming quote</category><category domain="http://www.blogger.com/atom/ns#">prog-pic-quotes</category><title>Mark Zuckerberg :My number one advice is</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8idVbiD3HAj0b05pBGGI7t0D408GBnomaOCWuZAakGyTO5tfoMw_j8FK5fElko3W08OAG5gWREXXoIUf812yL9EJFr6zx1rYp6cLBXswUP8t6P8_LpsEZcROT59WMzTBFfrhdmvLzLPzg/s1600/Mark+Zuckerberg.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8idVbiD3HAj0b05pBGGI7t0D408GBnomaOCWuZAakGyTO5tfoMw_j8FK5fElko3W08OAG5gWREXXoIUf812yL9EJFr6zx1rYp6cLBXswUP8t6P8_LpsEZcROT59WMzTBFfrhdmvLzLPzg/s1600/Mark+Zuckerberg.jpg&quot; height=&quot;300&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/mark-zuckerberg-quote.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8idVbiD3HAj0b05pBGGI7t0D408GBnomaOCWuZAakGyTO5tfoMw_j8FK5fElko3W08OAG5gWREXXoIUf812yL9EJFr6zx1rYp6cLBXswUP8t6P8_LpsEZcROT59WMzTBFfrhdmvLzLPzg/s72-c/Mark+Zuckerberg.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-9000838842454275540</guid><pubDate>Sat, 11 Apr 2015 17:07:00 +0000</pubDate><atom:updated>2015-04-11T22:09:25.135+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Martin Fowler programming quote</category><category domain="http://www.blogger.com/atom/ns#">prog-pic-quotes</category><title>Martin Fowler: Any fool can write code</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1eUqsiLZGi-tNV_CY6H0J91wvkulASmywM5gNrRfOY15nhP_KVhavRFwCQlDX4P2MpS6UE9UXGDL78rW66H8AZJCLIt9tAW5HjCGcCPiMh5UGjDYBmOQzBVwppoUUK8ei2IM9f4f5xRZp/s1600/quote-any-fool-can-write-code-that-a-computer-can-understand-good-programmers-write-code-that-humans-can-martin-fowler-299183.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1eUqsiLZGi-tNV_CY6H0J91wvkulASmywM5gNrRfOY15nhP_KVhavRFwCQlDX4P2MpS6UE9UXGDL78rW66H8AZJCLIt9tAW5HjCGcCPiMh5UGjDYBmOQzBVwppoUUK8ei2IM9f4f5xRZp/s1600/quote-any-fool-can-write-code-that-a-computer-can-understand-good-programmers-write-code-that-humans-can-martin-fowler-299183.jpg&quot; height=&quot;300&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/martin-fowler.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1eUqsiLZGi-tNV_CY6H0J91wvkulASmywM5gNrRfOY15nhP_KVhavRFwCQlDX4P2MpS6UE9UXGDL78rW66H8AZJCLIt9tAW5HjCGcCPiMh5UGjDYBmOQzBVwppoUUK8ei2IM9f4f5xRZp/s72-c/quote-any-fool-can-write-code-that-a-computer-can-understand-good-programmers-write-code-that-humans-can-martin-fowler-299183.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-4685074290924416299</guid><pubDate>Sat, 11 Apr 2015 16:42:00 +0000</pubDate><atom:updated>2015-04-23T19:52:05.309+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">prog-pic-quotes</category><category domain="http://www.blogger.com/atom/ns#">steve jobs Quotes</category><title>Steve Jobs: I was worth over $ 1.000.000 when</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw26IhWuUOuHtvadzJb6lHCDbwJ5gl04fZ6CDmB0ZV1-2MtKsxR7dF0FPEExIBA9AGCpCHZTILmOmMEkWBTIS3pknlTomdJvl17BaHUwWZNw4t8kD8bqChTxowU25_lePd3QApCFtqyjzy/s1600/SteveJobs-programming-quote.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw26IhWuUOuHtvadzJb6lHCDbwJ5gl04fZ6CDmB0ZV1-2MtKsxR7dF0FPEExIBA9AGCpCHZTILmOmMEkWBTIS3pknlTomdJvl17BaHUwWZNw4t8kD8bqChTxowU25_lePd3QApCFtqyjzy/s1600/SteveJobs-programming-quote.jpg&quot; height=&quot;366&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/blog-post.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw26IhWuUOuHtvadzJb6lHCDbwJ5gl04fZ6CDmB0ZV1-2MtKsxR7dF0FPEExIBA9AGCpCHZTILmOmMEkWBTIS3pknlTomdJvl17BaHUwWZNw4t8kD8bqChTxowU25_lePd3QApCFtqyjzy/s72-c/SteveJobs-programming-quote.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-6258693318842738559</guid><pubDate>Sat, 11 Apr 2015 09:30:00 +0000</pubDate><atom:updated>2015-04-11T14:01:27.143+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bjarne stroustrup</category><category domain="http://www.blogger.com/atom/ns#">c plus plus</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">cpp</category><category domain="http://www.blogger.com/atom/ns#">Dennis Ritchie</category><category domain="http://www.blogger.com/atom/ns#">introduction</category><title> Differences between C and C++:</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb08LZIIZK1iRkg1HzN_Pu5Qdhk9IqiEhL4FCgQpE-9TY9L61sFrmosF4xIJAGrwj9PPIE8j9hh9Wd-1G3WtYjpptXpLh0XgQF5vcs3WTIaQmsamK6ozo-e-P9Wq716pIQf32FRxRfz0qP/s1600/learn+c+++cover.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb08LZIIZK1iRkg1HzN_Pu5Qdhk9IqiEhL4FCgQpE-9TY9L61sFrmosF4xIJAGrwj9PPIE8j9hh9Wd-1G3WtYjpptXpLh0XgQF5vcs3WTIaQmsamK6ozo-e-P9Wq716pIQf32FRxRfz0qP/s1600/learn+c+++cover.jpg&quot; height=&quot;272&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;C++&lt;/b&gt;&lt;/span&gt;&lt;/a&gt; is derived from the C language. C is a structured language , while &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;C++&lt;/span&gt;&lt;/b&gt; is an object oriented language.&lt;/li&gt;
&lt;li&gt;Dennis Ritchie developed C in 1970, while Bjarne stroustrup developed&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt; &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;C++&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; in the early 1980 at Bell Laboratories.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;C++&lt;/span&gt;&lt;/b&gt; is an object-oriented version of C. Object-oriented programming involves concepts that are new to programmers of traditional languages such as BASIC, Pascal and C.&lt;/li&gt;
&lt;li&gt;It&#39;s goal is clear , it&#39;s more rliable and programs can be maintained easily.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;As compare to C, &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;C++&lt;/span&gt;&lt;/b&gt; has many features like improved approach to input/output and a new way to write comments.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;C++&lt;/span&gt;&lt;/b&gt; inherits much of the efficiency of C language , as well as the readability and ease of writing programs.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;C++&lt;/span&gt;&lt;/a&gt;&lt;/b&gt; supports the concept of encapsulation and data hiding through the creation of user-define types, called Classes.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;C++&lt;/span&gt;&lt;/a&gt;&lt;/b&gt; supports the polymorphism concept.&lt;br /&gt;(&quot;Polymorphism means to create multiple definitions for operators and functions.&quot;)&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Compiled by&lt;/span&gt;: &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Learn C Plus Plus&lt;/span&gt;&lt;/a&gt; -&amp;nbsp;(&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;a href=&quot;http://maisam-af.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Maisam Afshar&lt;/a&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/differences-between-c-and-cpp.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb08LZIIZK1iRkg1HzN_Pu5Qdhk9IqiEhL4FCgQpE-9TY9L61sFrmosF4xIJAGrwj9PPIE8j9hh9Wd-1G3WtYjpptXpLh0XgQF5vcs3WTIaQmsamK6ozo-e-P9Wq716pIQf32FRxRfz0qP/s72-c/learn+c+++cover.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-708001948751770020</guid><pubDate>Fri, 10 Apr 2015 15:34:00 +0000</pubDate><atom:updated>2015-04-11T14:01:54.567+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">c plus plus</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">cpp</category><category domain="http://www.blogger.com/atom/ns#">introduction</category><title>What is C++ ?</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;says&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;definitionOrSaysImage&quot; style=&quot;box-sizing: border-box; float: left; margin-top: 0.71428em; padding: 0px; width: 81.375px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiCIb20-L0718C4XSJp81he0bNrmNXxyGtZoYLipb4IMj8yl3ifIv6oOevXQ2rQ6OQcUPxYW_VpPFOjQi0nI_xZYC5866AZ4OzJ2USBiQf2t2xhbFaYBk5EToMuEqLBeU8nxwNVdpX4Bf0/s1600/C++.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiCIb20-L0718C4XSJp81he0bNrmNXxyGtZoYLipb4IMj8yl3ifIv6oOevXQ2rQ6OQcUPxYW_VpPFOjQi0nI_xZYC5866AZ4OzJ2USBiQf2t2xhbFaYBk5EToMuEqLBeU8nxwNVdpX4Bf0/s1600/C++.png&quot; height=&quot;505&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;br /&gt;C++&lt;span style=&quot;font-weight: normal;&quot;&gt;  is pronounced &quot;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/&quot;&gt;C-Plus-Plus&lt;/a&gt;.&quot;ˈsiː plʌs plʌs/ it is an object oriented programming (OOP) language, developed by Bjarne Stroustrup, and is an extension of C language. therefore it is possible to code &lt;/span&gt;C++&lt;span style=&quot;font-weight: normal;&quot;&gt; in a &quot;C style&quot; or &quot;object-oriented style.&quot; In certain scenarios, it can be coded in either way and is thus an effective example of a hybrid language.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;C++&lt;span style=&quot;font-weight: normal;&quot;&gt; is a general purpose object oriented programming language. It is considered to be an intermediate level language, as it encapsulates both high and low level language features. Initially, the language was called &#39;C with classes’ as it had all properties of C language with an additional concept of &#39;classes’. However, it was renamed to&lt;/span&gt; C++&lt;span style=&quot;font-weight: normal;&quot;&gt; in 1983.&lt;/span&gt;&lt;/h4&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Compiled by&lt;/span&gt;: &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Learn C Plus Plus&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/what-is-c.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiCIb20-L0718C4XSJp81he0bNrmNXxyGtZoYLipb4IMj8yl3ifIv6oOevXQ2rQ6OQcUPxYW_VpPFOjQi0nI_xZYC5866AZ4OzJ2USBiQf2t2xhbFaYBk5EToMuEqLBeU8nxwNVdpX4Bf0/s72-c/C++.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-1187904777692799395</guid><pubDate>Fri, 10 Apr 2015 03:52:00 +0000</pubDate><atom:updated>2015-04-11T14:02:13.013+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">compiler</category><category domain="http://www.blogger.com/atom/ns#">interpreter</category><category domain="http://www.blogger.com/atom/ns#">introduction</category><category domain="http://www.blogger.com/atom/ns#">Source program</category><category domain="http://www.blogger.com/atom/ns#">Target program</category><title>Translators </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We mainly have two kinds of &lt;b&gt;Translators.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;&lt;i&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Compilers&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;i&gt;Interpreters&lt;/i&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;

Translation Process :&lt;/h3&gt;
Translation of a program has mainly 3 stages , which are below.&lt;br /&gt;
&lt;h4&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Source Program / code&lt;/li&gt;
&lt;/ul&gt;
&lt;/h4&gt;
&lt;h4&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Compiler / Interpreter&lt;/li&gt;
&lt;/ul&gt;
&lt;/h4&gt;
&lt;h4&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Target Program / Code&lt;/li&gt;
&lt;/ul&gt;
&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;

Source Program :&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The program we write in English language using the editor is called Source program. This program is given to the compiler for translation.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;==&amp;gt; &lt;b&gt;Read about compiler in this link&lt;/b&gt;===&amp;gt; &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Compiler&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html&quot; style=&quot;font-weight: normal;&quot; target=&quot;_blank&quot;&gt; &lt;/a&gt;/ &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Interpreter&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;

Target Program&lt;span style=&quot;font-weight: normal;&quot;&gt; :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The program produced by the compiler after translating the source program is called target program. This program is in binary form. &lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Target Program is also sometimes called machine language. By Machine language we mean the language of the processor. Every processor has it’s own language.&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #e06666;&quot;&gt;&lt;b&gt;Written by&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt; : &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;Learn C Plus Plus&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUDPlKA2fU_IICKqETJhFZNVjN5y8m7XJbuAQyArmw0Fz5dZAjfrbHpPvQZoyQSEFSlROdQDf-My6P5vSGK-gF0Sse8GlYsqBDILre7GOJ3BBV8DvOnOahqAPUFoMXGFCF43B64eFouOp_/s1600/Learn+c+plus+plus.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUDPlKA2fU_IICKqETJhFZNVjN5y8m7XJbuAQyArmw0Fz5dZAjfrbHpPvQZoyQSEFSlROdQDf-My6P5vSGK-gF0Sse8GlYsqBDILre7GOJ3BBV8DvOnOahqAPUFoMXGFCF43B64eFouOp_/s1600/Learn+c+plus+plus.JPG&quot; height=&quot;296&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Translation process&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2015/04/translators.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUDPlKA2fU_IICKqETJhFZNVjN5y8m7XJbuAQyArmw0Fz5dZAjfrbHpPvQZoyQSEFSlROdQDf-My6P5vSGK-gF0Sse8GlYsqBDILre7GOJ3BBV8DvOnOahqAPUFoMXGFCF43B64eFouOp_/s72-c/Learn+c+plus+plus.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-1048351076201773378</guid><pubDate>Tue, 23 Dec 2014 10:30:00 +0000</pubDate><atom:updated>2015-04-11T14:13:44.729+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">binary code</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">decimal number</category><category domain="http://www.blogger.com/atom/ns#">introduction</category><category domain="http://www.blogger.com/atom/ns#">machine</category><category domain="http://www.blogger.com/atom/ns#">transistor</category><category domain="http://www.blogger.com/atom/ns#">translation to binary</category><category domain="http://www.blogger.com/atom/ns#">translator</category><title>Definition of Binary code</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-size: large;&quot;&gt;Definition of Binary code&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
As I said before that now a days all programs are high language and we need a software to translate them to computer language or &quot; Binary Language &quot; so now i am going to explain what a &amp;nbsp;Binary Language is :&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Introduction&lt;/h3&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
All data in a computer system consists of binary information. Binary means there are only two possible values: zero and one.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Computer software translates between binary information and the information you actually work with on a computer, such as decimal numbers, texts, photos, sound and video.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
Binary information is sometimes also referred to &quot;machine language&quot; since it represents the most fundamental level of information stored in a computer system.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
At a physical level, the zero and ones are stored in the central processing unit of a computer system using transistors.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
A transistor is a semiconductor device used to amplify and switch electronic signals and electrical power. It is composed of semiconductor material with at least three terminals for connection to an external circuit.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
it means If a current passes through the transistor (the switch is closed), this represents a one (1). If a current doesn&#39;t pass through (the switch is open), this represents a zero (0).&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
No matter where your data is stored, all digital data at the most fundamental level consists of zeros and ones. In order to make you understand of this binary information, a Binary notation method is needed.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Binary Notation :&lt;/h3&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
Each binary digit is known for short as a bit. One bit can only be used to represent two different values: 0 and 1. To represent more than two values, we need to use multiple bits.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
in general (n) bits can be used to 2 express (n) different values.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
Example of a standard binary Code&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Decimal Number&lt;/th&gt;&lt;th&gt;Binary Number&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;100&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;101&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;110&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;111&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;1000&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;1001&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;10&lt;/td&gt;&lt;td&gt;1010&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;Binary codes for Decimal numbers &amp;nbsp;0 to 10&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
The same logic used to represent numbers can be used to represent text.&lt;br /&gt;
What we need is a coding scheme, similar to the binary notation example for the numbers zero to ten. How many characters do we need to represent text? The English language includes 26 letters.&lt;br /&gt;
Upper and lower case have to be treated separately, so that makes 52 unique characters. We also need characters to represent punctuation, numeric digits and special characters. A basic set may only need about 100 characters or so, very much like the keys on a keyboard, but what about different languages that use a different script? All the characters we want to represent are known as a character set. Several standard character sets have been developed over the years, including ASCII and Unicode&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
Translation into Binary Language :&lt;/h4&gt;
&lt;div&gt;
&lt;h4&gt;
&lt;ul&gt;
&lt;li&gt;Procedure :&lt;/li&gt;
&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;To translate a decimal number into binary form,&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;1. Start writing numbers from the right side. Start from &quot;1&quot; and multiply each digit by &quot;2&quot; to get the next number.&lt;br /&gt;2. Write “1” under all those numbers whose sum is equal to the given number. Then write “0” under the rest of numbers.&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Example : Translation of 9 into Binary form&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoJOmSjZUzxmqZsNhPuYtCscUKdiKTOsvzlUP8agk8qtHOM0nS8Z0OiwlcFCMFxNtcDiWY3fmH8qYfj0zFbHSfm2lH0-dNgFDpdoS9eF8fi16fHj9mUuxI25JEeR6uUTcBO-oz23XF5fN0/s1600/Capture.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoJOmSjZUzxmqZsNhPuYtCscUKdiKTOsvzlUP8agk8qtHOM0nS8Z0OiwlcFCMFxNtcDiWY3fmH8qYfj0zFbHSfm2lH0-dNgFDpdoS9eF8fi16fHj9mUuxI25JEeR6uUTcBO-oz23XF5fN0/s1600/Capture.jpg&quot; height=&quot;115&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4&gt;
&lt;/h4&gt;
&lt;h3&gt;
Units for Binary Data&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Bit :&amp;nbsp;A single binary digit is called bit. i.e. 1 or 0.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;h4&gt;
&lt;/h4&gt;
&lt;h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Nibble&amp;nbsp;: Collection of four bits in called nibble.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Byte&amp;nbsp;: Collection of eight bits is called byte.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh14DZXUp3Isi4bO06fi75xlfFIA7uAA0KAoFbBactdFbNb53wI0kQHsNh6Em-SF82TFYDw_d2ZIiuKp_jqrzwJZ7KARWJDQgzXmVwnaLyW4kJwbg4e9ojUGMbIz34WC6E0DoQmgy36FDjY/s1600/byte__1419091688_175.106.52.222.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh14DZXUp3Isi4bO06fi75xlfFIA7uAA0KAoFbBactdFbNb53wI0kQHsNh6Em-SF82TFYDw_d2ZIiuKp_jqrzwJZ7KARWJDQgzXmVwnaLyW4kJwbg4e9ojUGMbIz34WC6E0DoQmgy36FDjY/s1600/byte__1419091688_175.106.52.222.jpg&quot; height=&quot;163&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Unit Conversion&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;To convert Bits into Bytes , divide number of bits by 8&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;i.e. 64 Bits = 8 Bytes&lt;/th&gt;&lt;th&gt;64/8 = 8&lt;/th&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;To convert Bytes into Bits , multiply number of Bytes by 8.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;i.e. 3 Bytes = 24 Bits&lt;/th&gt;&lt;th&gt;3*8 = 24&lt;/th&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Bigger Units&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;1 Kilo Byte = 1024 Bytes&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;1 Mega Byte = 1024 Kilo Bytes&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;1 Giga Byte = 1024 Mega Bytes&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;1 Terra Byte = 1024 Giga Bytes&lt;/th&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2014/12/definition-of-binary-code.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoJOmSjZUzxmqZsNhPuYtCscUKdiKTOsvzlUP8agk8qtHOM0nS8Z0OiwlcFCMFxNtcDiWY3fmH8qYfj0zFbHSfm2lH0-dNgFDpdoS9eF8fi16fHj9mUuxI25JEeR6uUTcBO-oz23XF5fN0/s72-c/Capture.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-8235739888414944135</guid><pubDate>Thu, 18 Dec 2014 16:38:00 +0000</pubDate><atom:updated>2015-05-21T14:24:37.046+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">binary</category><category domain="http://www.blogger.com/atom/ns#">c plus plus</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">code</category><category domain="http://www.blogger.com/atom/ns#">compiler</category><category domain="http://www.blogger.com/atom/ns#">computer</category><category domain="http://www.blogger.com/atom/ns#">editor</category><category domain="http://www.blogger.com/atom/ns#">interpreter</category><category domain="http://www.blogger.com/atom/ns#">introduction</category><category domain="http://www.blogger.com/atom/ns#">machine</category><category domain="http://www.blogger.com/atom/ns#">main components</category><category domain="http://www.blogger.com/atom/ns#">programming language</category><category domain="http://www.blogger.com/atom/ns#">translation</category><category domain="http://www.blogger.com/atom/ns#">translator</category><title>Main components of most Programming Languages</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: center;&quot;&gt;
What are main components of most &lt;a href=&quot;http://learn-cpluspluss.blogspot.com/2014/12/hello-everyone-before-starting-c-we.html&quot;&gt;programming Languages&lt;/a&gt; ?!&lt;/blockquote&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Answer :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Compiler&lt;/li&gt;
&lt;li&gt;Interpreter&lt;/li&gt;
&lt;li&gt;Editor&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
What is Compiler ?&lt;/blockquote&gt;
&amp;nbsp;Answer : A compiler is a computer program that transforms the source program to target program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Or&lt;/blockquote&gt;
Compiler is a software which translates the entire computer program at once &amp;nbsp;and if no error is found it executes it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
What is an Interpreter ?&lt;/blockquote&gt;
Answer : A software which translates the program line by line and then executes it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
what is an Editor ?&lt;/blockquote&gt;
Answer : &amp;nbsp;Editor is a computer program that facilitates the deletion or insertion of data within information already stored in a computer&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Or&lt;/blockquote&gt;
A software where we type/write or create our Program..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: left;&quot;&gt;
Why do we need Translators ?&lt;/blockquote&gt;
Answer : &amp;nbsp;Now-a-days most of the languages are high level language and C++ is also a high level language.&lt;br /&gt;
Every statement in high level language is written in English and Computers only speak and understand binary language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;So we need a translator which can translate the English language into binary language.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Binary language consists of only two digits “0” and “1”&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWzOkvD3G4GqUVrilFxKSqgIqe49rQ9TS7S6ggQImULerGeGmD2FTQxEI4qyEnWQ1xC6rh7WshUT0ObkVHjd6RXay0dGQjpltrkQktrHrXioakllHGZSfz5hO7YFFaoI4K43PpIajclatY/s1600/Learn-cpluspluss.blogspot.com.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWzOkvD3G4GqUVrilFxKSqgIqe49rQ9TS7S6ggQImULerGeGmD2FTQxEI4qyEnWQ1xC6rh7WshUT0ObkVHjd6RXay0dGQjpltrkQktrHrXioakllHGZSfz5hO7YFFaoI4K43PpIajclatY/s1600/Learn-cpluspluss.blogspot.com.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2014/12/components-of-most-programming-language.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWzOkvD3G4GqUVrilFxKSqgIqe49rQ9TS7S6ggQImULerGeGmD2FTQxEI4qyEnWQ1xC6rh7WshUT0ObkVHjd6RXay0dGQjpltrkQktrHrXioakllHGZSfz5hO7YFFaoI4K43PpIajclatY/s72-c/Learn-cpluspluss.blogspot.com.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-835598213604448788.post-1807979691085422912</guid><pubDate>Wed, 17 Dec 2014 09:52:00 +0000</pubDate><atom:updated>2015-04-11T14:03:55.284+04:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">c plus plus</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">introduction</category><category domain="http://www.blogger.com/atom/ns#">language</category><category domain="http://www.blogger.com/atom/ns#">learn c plus plus</category><category domain="http://www.blogger.com/atom/ns#">programming</category><title>What Are Programming Languages ?</title><description>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;h3&gt;

Hello Everyone This is my first post on this blog !&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Before starting the C++ , we should have some information about &quot; Programming Languages &quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;In here i will shortly point out about Programming Languages so..&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;? Q1 . What is a programming Language&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Answer : Programming Language Is a special computer language used to create softwares.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;-The programming languages are sometimes roughly called royal languages&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Every statement in a programming language is actually a command to the computer&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;The first programming language ever created was called “Ada”.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;? Q2: How many levels or categories are there in programming Language&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Answer : There are Three level of Programming Language :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;1. &amp;gt;Low-level-languages.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;2.Mid-Level-Languages.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;3. High Level Languages.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;? Q3. What are &quot; Low Level Languages &quot; &amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Answer : Low level languages are those languages in which the programs are written in machine/binary language. E.g. Ada&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&amp;nbsp;? Q4: What are &quot; Mid-Level-Languages &quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Answer : Mid level languages are those languages in which programs are written in 80% English and 20 % binary form. E.g. assembly&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;? Q5 . What are High Level Languages&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Answer : High level languages are those languages in which programs are written completely in English language. E.g. C++, VB, Java ,ASP , PHP...&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Stay in touch for other posts :)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaYIMhJIiroo1KBHmfRq1u-ypeQHtWeS8HC-z34URG311AAxGe4sU-nlUNdHOAzrkiLONv2b9nv4zMgyi6OG148PwXtjYouYiYjdVwT-hwGcutx_86wB5SzP9-58rntBEW3waw4s7EJM_G/s1600/software-programming.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaYIMhJIiroo1KBHmfRq1u-ypeQHtWeS8HC-z34URG311AAxGe4sU-nlUNdHOAzrkiLONv2b9nv4zMgyi6OG148PwXtjYouYiYjdVwT-hwGcutx_86wB5SzP9-58rntBEW3waw4s7EJM_G/s1600/software-programming.jpg&quot; height=&quot;207&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://learn-cpluspluss.blogspot.com/2014/12/hello-everyone-before-starting-c-we.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaYIMhJIiroo1KBHmfRq1u-ypeQHtWeS8HC-z34URG311AAxGe4sU-nlUNdHOAzrkiLONv2b9nv4zMgyi6OG148PwXtjYouYiYjdVwT-hwGcutx_86wB5SzP9-58rntBEW3waw4s7EJM_G/s72-c/software-programming.jpg" height="72" width="72"/><thr:total>2</thr:total></item></channel></rss>