<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cpp Tutorial</title>
	<atom:link href="http://cpptutorial.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cpptutorial.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 31 Dec 2007 09:52:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cpptutorial.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cpp Tutorial</title>
		<link>http://cpptutorial.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cpptutorial.wordpress.com/osd.xml" title="Cpp Tutorial" />
	<atom:link rel='hub' href='http://cpptutorial.wordpress.com/?pushpress=hub'/>
		<item>
		<title></title>
		<link>http://cpptutorial.wordpress.com/2007/12/31/7/</link>
		<comments>http://cpptutorial.wordpress.com/2007/12/31/7/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 09:45:52 +0000</pubDate>
		<dc:creator>satyamls</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[c++ classification of data types]]></category>
		<category><![CDATA[c++ data types]]></category>
		<category><![CDATA[cpp data types]]></category>

		<guid isPermaLink="false">http://cpptutorial.wordpress.com/2007/12/31/7/</guid>
		<description><![CDATA[Data types: - C++ data types can be classified as 1. Standard data types 2. Derived (extended data types) 3. User defined data types Standard data types: Standard data types are used to tell the compiler what type of data to be handled by an identifier. These data types give complete details of the behavior [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cpptutorial.wordpress.com&amp;blog=2418616&amp;post=7&amp;subd=cpptutorial&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:justify;text-indent:-22.7pt;margin:1pt 0 0.0001pt 22.7pt;"><b><u><span style="font-size:10pt;font-family:Arial;">Data types: -</span></u></b><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-22.7pt;margin:1pt 0 0.0001pt 22.7pt;"><span style="font-size:10pt;font-family:Arial;">C++ data types can be classified as </span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-0.25in;margin:1pt 0 0.0001pt 0.5in;"><!--[if !supportLists]--><span style="font-size:10pt;font-family:Arial;"><span>1.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">       </span></span></span><!--[endif]--><span style="font-size:10pt;font-family:Arial;">Standard data types</span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-0.25in;margin:1pt 0 0.0001pt 0.5in;"><!--[if !supportLists]--><span style="font-size:10pt;font-family:Arial;"><span>2.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">       </span></span></span><!--[endif]--><span style="font-size:10pt;font-family:Arial;">Derived (extended data types) </span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-0.25in;margin:1pt 0 0.0001pt 0.5in;"><!--[if !supportLists]--><span style="font-size:10pt;font-family:Arial;"><span>3.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">       </span></span></span><!--[endif]--><span style="font-size:10pt;font-family:Arial;">User defined data types</span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Standard data types: </span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Standard data types are used to tell the compiler what type of data to be handled by an identifier. These data types give complete details of the behavior of a data type. It is used to handle only one value at a time by using single identifier.</span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Derived data types (extended data types):</span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Derived data types are used to extend the behavior of an existing simple data type to get more functionality. It is used to handle more than one value at a time using a single identifier. For example arrays</span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">User defined data types:</span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">User defined data types are created by a user by using simple, derived, user defined data types as per the user requirement. The user has to decide the functionality and behavior of these data types. By using these data types to handle more than one data type using single identifier For example structures and classes </span></p>
<p><a href="http://cpptutorial.wordpress.com/2007/12/31/7/classification-of-data-types-2-2/" rel="attachment wp-att-6" title="Classification of Data types"><img src="http://cpptutorial.files.wordpress.com/2007/12/image0012.gif?w=450" alt="Classification of Data types" /></a></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-22.7pt;margin:1pt 0 0.0001pt 22.7pt;"><b><u><span style="font-size:10pt;font-family:Arial;">Void:</span></u></b><b><span style="font-size:10pt;font-family:Arial;"> -</span></b><span style="font-size:10pt;font-family:Arial;"> <span> </span>The Void is used to represent the following things</span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-22.7pt;margin:1pt 0 0.0001pt 22.7pt;"><span style="font-size:10pt;font-family:Arial;"><span>            </span>1)<span>         </span>To specify the return type of a function when it is not returning any value.</span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:0;margin:1pt 0 0.0001pt 0.5in;"><!--[if !supportLists]--><span style="font-size:10pt;font-family:Arial;"><span>2)<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">                   </span></span></span><!--[endif]--><span style="font-size:10pt;font-family:Arial;">To indicate an empty argument list to a function</span></p>
<p class="MsoNormal" style="text-align:justify;margin:1pt 0 0.0001pt 0.5in;"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Qualifier: qualifiers are used to extend the behavior of standard data type. There are two qualifiers namely size and sign. Size qualifier is used to extend the size of an existing data type and sign qualifier used to make the data type as a signed number or unsigned numbers.</span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Size qualifier: there are two size qualifiers they are short and long. Short is used to decrees the size and ling is used to extend the size to maximum. For example short int size is only 2 bytes irrespective of operating system. It is not possible to apply size qualifier on char</span></p>
<p class="MsoNormal" style="text-align:justify;text-indent:-22.7pt;margin:1pt 0 0.0001pt 22.7pt;"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin-top:1pt;text-align:justify;"><span style="font-size:10pt;font-family:Arial;">Sign qualifier: there are two sign qualifiers they are signed and unsigned. Unsigned qualifier is used to make the number as a positive number. By default all number are positive. It is not possible to apply sign qualifier on long, double.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cpptutorial.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cpptutorial.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cpptutorial.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cpptutorial.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cpptutorial.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cpptutorial.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cpptutorial.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cpptutorial.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cpptutorial.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cpptutorial.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cpptutorial.wordpress.com&amp;blog=2418616&amp;post=7&amp;subd=cpptutorial&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cpptutorial.wordpress.com/2007/12/31/7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8c9d7c3b3060e06731883b75f1b21139?s=96&#38;d=identicon" medium="image">
			<media:title type="html">satyamls</media:title>
		</media:content>

		<media:content url="http://cpptutorial.files.wordpress.com/2007/12/image0012.gif" medium="image">
			<media:title type="html">Classification of Data types</media:title>
		</media:content>
	</item>
	</channel>
</rss>
