<?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-4463597050439391194</atom:id><lastBuildDate>Sat, 05 Oct 2024 02:10:29 +0000</lastBuildDate><category>C++</category><category>Programme</category><category>Basic Coding</category><category>Color Scheme</category><category>ifttt</category><title>C++ Arx Arcis</title><description>A C++ Fortress</description><link>http://arxarcis.blogspot.com/</link><managingEditor>noreply@blogger.com (dead walker)</managingEditor><generator>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4463597050439391194.post-318119676723526403</guid><pubDate>Mon, 09 Sep 2013 17:59:00 +0000</pubDate><atom:updated>2013-10-02T16:12:49.276+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basic Coding</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">Programme</category><title>A Colection Of Basic Codes</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;So hello to all, I&#39;ll &amp;nbsp;write a few elementary codes for beginners,to &amp;nbsp;provide a basic insight of C++ , this blog post will see additions from time to time ,so stay tuned.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Current Number Of Codes In Blog : 8&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
To jump to the code you need press &quot;Ctrl + G&quot; and type heading or use the navbar.&lt;br /&gt;
------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange; font-size: large;&quot;&gt;ABC Section&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;To Show Average of Five Entries&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/avgmarks_zps05a5d3a7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program showing average of 5 subjects&quot; border=&quot;0&quot; src=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/avgmarks_zps05a5d3a7.jpg&quot; height=&quot;165&quot; title=&quot;Average of 5 subjects&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
float a,b,c,d,e,f; &amp;nbsp;&lt;span style=&quot;color: #660000;&quot;&gt; //Here float is used to include numbers with decimal points&lt;/span&gt;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Enter Values&quot;:&lt;br /&gt;
cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b&amp;gt;&amp;gt;c&amp;gt;&amp;gt;d&amp;gt;&amp;gt;e;&lt;br /&gt;
f=a+b+c+d+e/5;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Average Marks is&quot;;&lt;br /&gt;
cout&amp;lt;&amp;lt;f;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To Find ASCII Code for the given character&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/asciicode_zps37c16d0b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to find ASCII code&quot; border=&quot;0&quot; src=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/asciicode_zps37c16d0b.jpg&quot; height=&quot;166&quot; title=&quot;ASCII Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; Almost all characters on your keyboard have a ASCII code in C++ ranging from 0 to 265. &amp;gt;Eg &#39;A&#39; has ASCII code 65&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp;clrscr()&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; char n;&lt;br /&gt;
&amp;nbsp; int x;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Enter a character&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;n;&lt;br /&gt;
&amp;nbsp; x=n;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;ASCII Code is &quot;&amp;lt;&amp;lt;x;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp;getch()&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
---------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;b&gt;Largest Among Four Numbers Entered&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Note&lt;/b&gt;- An improvement of this code is in the loop section&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
int a,b,c,d,e=0,f=0;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Enter 4 numbers&quot;;&lt;br /&gt;
cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b&amp;gt;&amp;gt;c&amp;gt;&amp;gt;d;&lt;br /&gt;
if (a&amp;gt;e)&lt;br /&gt;
e=a;&lt;br /&gt;
if (b&amp;gt;e)&lt;br /&gt;
e=b;&lt;br /&gt;
if (c&amp;gt;e)&lt;br /&gt;
e=c;&lt;br /&gt;
if (d&amp;gt;e)&lt;br /&gt;
e=d;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Largest Number Is&quot;&amp;lt;&amp;lt;e;&lt;br /&gt;
if((a!=e)&amp;amp;&amp;amp;(a&amp;gt;f))&lt;br /&gt;
f=a;&lt;br /&gt;
if((b!=e)&amp;amp;&amp;amp;(b&amp;gt;f))&lt;br /&gt;
f=b;&lt;br /&gt;
if((c!=e)&amp;amp;&amp;amp;(c&amp;gt;f))&lt;br /&gt;
f=c;&lt;br /&gt;
if((d!=e)&amp;amp;&amp;amp;(d&amp;gt;f))&lt;br /&gt;
f=d;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;2nd Largest Number Is&quot;&amp;lt;&amp;lt;f;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: orange; font-size: large;&quot;&gt;Loop-A-Loop Section&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Fibonacci Series Till N Numbers&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;#include&amp;lt;iostream.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
int a=0,b=1,c,n;&lt;br /&gt;
cin&amp;lt;&amp;lt;n; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//For The Range&lt;br /&gt;
cout&amp;lt;&amp;lt;a&amp;lt;&amp;lt;&quot;\n&quot;&amp;lt;&amp;lt;b&amp;lt;&amp;lt;&quot;\n&quot;;&lt;br /&gt;
do&lt;br /&gt;
{ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //You can also use &#39;for&#39; loop&lt;br /&gt;
c=a+b;&lt;br /&gt;
a=b;&lt;br /&gt;
b=c;&lt;br /&gt;
cout&amp;lt;&amp;lt;c&amp;lt;&amp;lt;&quot;\n&quot;;&lt;br /&gt;
} while(c&amp;lt;n);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
-----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To Reverse The Digits Of A Number&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;iostream.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
int a,b,c=0;&lt;br /&gt;
cin&amp;gt;&amp;gt;a; &amp;nbsp; //The Digit We Want To Reverse&lt;br /&gt;
do&lt;br /&gt;
{ &amp;nbsp;b=a%10;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;a=a/10;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;c=c*10+b;&lt;br /&gt;
} while(a!=0);&lt;br /&gt;
cout&amp;lt;&amp;lt;c;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;HCF Among Two Numbers&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
#include&amp;lt;iostream.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
int a,b,r,k,x;&lt;br /&gt;
cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;&lt;br /&gt;
if(a&amp;gt;b)&lt;br /&gt;
{&lt;br /&gt;
k=b;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
k=a;&lt;br /&gt;
}&lt;br /&gt;
for(r=1;r&amp;lt;=k;r++)&lt;br /&gt;
{&lt;br /&gt;
if((a%r==0)&amp;amp;&amp;amp;(b%r==0))&lt;br /&gt;
x=r;&lt;br /&gt;
}&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;HCF&quot;&amp;lt;&amp;lt;x;&lt;br /&gt;
getch();&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
--------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Largest Even And Odd Numbers Among The Numbers Entered&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;iostream.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
int a,b=0,c=1;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Enter Number&quot;&amp;lt;&amp;lt;&quot;\t&quot;; &amp;nbsp;//Observers may note that this code is for&amp;nbsp;&lt;u&gt;positive&amp;nbsp;numbers&lt;/u&gt;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;0 ends the program&quot;;&lt;br /&gt;
do&lt;br /&gt;
{&lt;br /&gt;
cin&amp;gt;&amp;gt;a;&lt;br /&gt;
if(a%2==0)&lt;br /&gt;
{&lt;br /&gt;
if (a&amp;gt;b)&lt;br /&gt;
b=a;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
if(a&amp;gt;c)&lt;br /&gt;
c=a;&lt;br /&gt;
} while(a!=0);&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Largest Even Number&quot;&amp;lt;&amp;lt;b;&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Largest Odd Number&quot;&amp;lt;&amp;lt;c;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/div&gt;
</description><link>http://arxarcis.blogspot.com/2013/09/a-few-basic-codes.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4463597050439391194.post-3933440946236537102</guid><pubDate>Sat, 07 Sep 2013 20:42:00 +0000</pubDate><atom:updated>2013-10-02T16:13:09.029+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basic Coding</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">ifttt</category><category domain="http://www.blogger.com/atom/ns#">Programme</category><title>Restarting A Program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Restarting a programme is a very good way to indirectly ask user not to close your program. Restarting your may help user now opening the file to run your program again and again. User can save time with this.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.skylinetradeshowtips.com/wp-content/uploads/2010/04/Restart-your-trade-show-program.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Restarting A program&quot; border=&quot;0&quot; src=&quot;http://www.skylinetradeshowtips.com/wp-content/uploads/2010/04/Restart-your-trade-show-program.jpg&quot; height=&quot;171&quot; title=&quot;Restarting A program&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After completing your programs , many of you may have wondering if you can restart your program or not.&lt;br /&gt;
Here is the answer - yes, you can.&lt;br /&gt;
&lt;br /&gt;
We are now sharing you the little secret with you....&lt;br /&gt;
&lt;br /&gt;
All you have to do is to put the whole program in a while loop with a condition that (n!=y), where n is a variable&lt;br /&gt;
&lt;br /&gt;
For example&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
char n;&lt;br /&gt;
&amp;nbsp;do&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp; .&lt;br /&gt;
&amp;nbsp; .&lt;br /&gt;
&amp;nbsp; .&lt;br /&gt;
&amp;nbsp; (your programme)&lt;br /&gt;
&amp;nbsp; .&lt;br /&gt;
&amp;nbsp; .&lt;br /&gt;
&amp;nbsp; cout&amp;lt;&amp;lt;&quot;Do you want to restart your program ? (Enter y to exit)&quot;;&lt;br /&gt;
&amp;nbsp; cin&amp;gt;&amp;gt;n;&lt;br /&gt;
&amp;nbsp; }while(n!=y)&lt;br /&gt;
}&lt;br /&gt;
(ssshhhh!!!)&lt;br /&gt;
Don&#39;t tell it to anyone else, its a secret between us and astonish your other fellows with it who do not know how to restart a program.&lt;/div&gt;
</description><link>http://arxarcis.blogspot.com/2013/09/restarting-program.html</link><author>noreply@blogger.com (dead walker)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4463597050439391194.post-2475701329314044609</guid><pubDate>Sun, 01 Sep 2013 12:39:00 +0000</pubDate><atom:updated>2013-10-02T15:04:06.034+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Color Scheme</category><title>Colour Scheme For Codes </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;http://www.techpavan.com/wp-content/uploads/color-scheme-generators.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Coloring Scheme&quot; border=&quot;0&quot; src=&quot;http://www.techpavan.com/wp-content/uploads/color-scheme-generators.jpg&quot; height=&quot;213&quot; title=&quot;Coloring Scheme&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;You must have noticed that we use different colours/colors in our codes.Its basically to differentiate between the &quot;common code&quot; necessary in every program and the &quot;target code&quot; specifically for the purpose we are programming for.In a layman terms&quot;Different colours ,different purpose&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
So here they are&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;Blue&lt;/span&gt;&lt;/u&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;This is for libraries. These are basically components(parts) of C++ that store different types of operator.&amp;nbsp;This can be explained by an example :- &amp;nbsp;A construction worker requires a toolkit containing screws,wrenches,hammers etc. Similarly a medical officer requires a&amp;nbsp;first-aid kit with bandages,medicine etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Here the kit can be taken as a library and the kits content ,the operators.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;So there are libraries for input and output command , math commands ,clearing screen etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Note that here three main libraries are used;-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;i&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/i&gt; ==&amp;gt; Necessary for input and output&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;i&gt;#includes&amp;lt;conio.h&amp;gt; &amp;nbsp; &amp;nbsp; &lt;/i&gt;==&amp;gt; To clear the Dosbox of previous writing when running programs(Clear-screen)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;i&gt;#include&amp;lt;math.h&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/i&gt;==&amp;gt; For mathematical operators like square root.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp; &amp;nbsp; 2.&lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;Green&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;u style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;For main() function that tells that the program is starting from there, and other basic functions that have the bracket () sign.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp; &amp;nbsp; 3.&lt;span style=&quot;color: #e69138;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #660000;&quot;&gt;&lt;u&gt;Red&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;u style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;For the comments of-course , and some practical jokes too.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;That&#39;s it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;P.S: Right ,in a &quot;long&quot; post we (me and DW) don&#39;t colour after the first 2-3 codes,as colours are just for a basic feel.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://arxarcis.blogspot.com/2013/09/colour-scheme-for-codes.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4463597050439391194.post-1737136331673139691</guid><pubDate>Sat, 17 Aug 2013 08:49:00 +0000</pubDate><atom:updated>2013-09-15T23:06:43.650+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">Programme</category><title>C++: Alphabet Staircase</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/alphastair_zps8f4db7ed.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to show Alphabetical Staircase&quot; border=&quot;0&quot; height=&quot;169&quot; src=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/alphastair_zps8f4db7ed.jpg&quot; title=&quot;Alphabetical Staircase&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output will be&lt;br /&gt;
A&lt;br /&gt;
AB&lt;br /&gt;
ABC&lt;br /&gt;
ABCD&lt;br /&gt;
ABCDE&lt;br /&gt;
&lt;br /&gt;
Code is :&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
for(int i=65; i&amp;lt;=69; i++) &amp;nbsp;&lt;span style=&quot;color: #660000;&quot;&gt;//To make a bigger staircase , just increase max limit of i from 69 to what you need&lt;/span&gt;&lt;br /&gt;
{cout&amp;lt;&amp;lt;&quot;\n&quot;;&lt;br /&gt;
for(char j=65; j&amp;lt;=i; j++)&lt;br /&gt;
cout&amp;lt;&amp;lt;j;&lt;br /&gt;
}&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
}&lt;/div&gt;
</description><link>http://arxarcis.blogspot.com/2013/08/c-alphabet-staircase.html</link><author>noreply@blogger.com (dead walker)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4463597050439391194.post-4814530298179182910</guid><pubDate>Fri, 16 Aug 2013 16:29:00 +0000</pubDate><atom:updated>2013-09-15T23:07:52.568+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basic Coding</category><category domain="http://www.blogger.com/atom/ns#">C++</category><category domain="http://www.blogger.com/atom/ns#">Programme</category><title>C++ : Change Case Of An Alphabet</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The following code is for a C++ Programme to change the case of a given alphabet.&lt;br /&gt;
&lt;br /&gt;
That is :&lt;br /&gt;
If &quot;a&quot; is input , the output is &quot;A&quot; [ Small letter to Capital letter]&lt;br /&gt;
If &quot;A&quot; is input , the output is &quot;a&quot; [ Capital letter to Small letter]&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/casechange_zpsc568cbe2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to show change of case of Alphabet&quot; border=&quot;0&quot; height=&quot;164&quot; src=&quot;http://i1288.photobucket.com/albums/b490/sforsumit/casechange_zpsc568cbe2.jpg&quot; title=&quot;change of case of Alphabet&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
char a,c;&lt;br /&gt;
int b,d;&lt;br /&gt;
&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;Enter a alphabet\n&quot;;&lt;br /&gt;
cin&amp;gt;&amp;gt;a;&lt;br /&gt;
b=a;&lt;br /&gt;
&lt;br /&gt;
if(b&amp;lt;91)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; d=b+32;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; c=d;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;c;&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp;d=b-32;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;c=d;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;c;&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
}&lt;/div&gt;
</description><link>http://arxarcis.blogspot.com/2013/08/c-change-case-of-alphabet.html</link><author>noreply@blogger.com (dead walker)</author><thr:total>0</thr:total></item></channel></rss>