<?xml version="1.0" encoding="GBK" ?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dcterms="http://purl.org/dc/terms/">
 <channel>
  	  <title><![CDATA[成都游戏学院程序老师的博客]]></title>
	  <link>http://blog.163.com/panyang_1</link>
	  <description><![CDATA[游戏学院成都校区程序老师的博客 ]]></description>
	  <language>zh-CN</language>
	  <pubDate>Fri, 18 Jul 2008 10:37:27 +0800</pubDate>
	  <lastBuildDate>Fri, 18 Jul 2008 10:37:27 +0800</lastBuildDate>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <generator><![CDATA[NetEase Space]]></generator>
	  <managingEditor><![CDATA[panyang_1]]></managingEditor>
	  <webMaster><![CDATA[panyang_1]]></webMaster>
		  <ttl>120</ttl>
	  <image>
	  	<title><![CDATA[成都游戏学院程序老师的博客]]></title>
	  	<url>http://ava.blog.163.com/photo/ed8y_Egns8CHM56UdmGL9Q==/171418260818558501.jpg</url>
	  	<link>http://blog.163.com/panyang_1</link>
	  </image>
  <item>
  	<title><![CDATA[c]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200861810375291</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">All these operations have an established behavior and all of them can be applied to any bit no matter which value they contain (either 0 or 1). Next you have a list of the basic boolean operations and a table with the behavior of that operation with every possible combination of bits. Several operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this fieldSeveral operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this field</P>
<P style="TEXT-INDENT: 2em">Activated or deactivated, true or false, etc... that is: two possible states each one opposite to the other, without possibility of any shades. We are going to consider that the two possible values of a bit are 0 and 1. </P>
<P style="TEXT-INDENT: 2em">Several operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this field: George Boole (1815-1864). </P>
<P style="TEXT-INDENT: 2em">AND</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits, which we will call <TT>a</TT> and <TT>b</TT>. The result of applying this AND operation is 1 if both <TT>a</TT> and <TT>b</TT> are equal to 1, and 0 in all other cases (i.e., if one or both of the variables is 0). </P>
<P style="TEXT-INDENT: 2em">AND (&amp;) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a&amp;b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>0</TD></TR>
<P></P>
<P style="TEXT-INDENT: 2em">
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>0</TD></TR></P>
<P style="TEXT-INDENT: 2em">
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>1</TD></TR></P></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">OR</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, or if both are 1. If none is equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">OR (|) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a|b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>1</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">XOR (Exclusive Or)</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, but not in the case that both are. There for, if neither or both of them are equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">XOR (^) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a^b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>0</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">NOT</P>
<P style="TEXT-INDENT: 2em">This operation is performed on a single bit. Its result is the inversion of the actual value of the bit: if it was set to 1 it becomes 0, and if it was 0 it becomes 1: </P>
<P style="TEXT-INDENT: 2em">NOT (~) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>~a</TH></TR>
<TR>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">These are the 4 basic boolean operations (AND, OR, XOR and NOT). Combining these operations we can obtain any possible result from two bits. </P>
<P style="TEXT-INDENT: 2em">In C++, these operators can be used with variables of any integer data type; the boolean operation is performed to all of the bits of each variable involved. For example, supposing two variables: <TT>a</TT> and <TT>b</TT>, both of type <TT>unsigned char</TT>, where <TT>a</TT> contains 195 (11000011 in binary) and <TT>b</TT> contains 87 (or 01010111 in binary). If we write the following code: </P>
<P style="TEXT-INDENT: 2em">
<TABLE>
<TBODY>
<TR>
<TD>
<P></P>
<P style="TEXT-INDENT: 2em">unsigned char a=195;unsigned char b=87;unsigned char c;c=a&amp;b;</P></TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">That means, that we conducted a bitwise AND operation between <TT>a</TT> and <TT>b</TT>. The operation is performed between the bits of the two variables that are located at the same position: The rightmost bit of <TT>c</TT> will contain the result of conducting the AND operation between the rightmost bits of <TT>a</TT> and <TT>b</TT>: </P>
<P style="TEXT-INDENT: 2em"><IMG src="http://www.cplusplus.com/files/25-boolean1.gif" border=0> </P>
<P style="TEXT-INDENT: 2em">The same operation is also performed between the second bits of both variables, and the third, and so on, until the operation is performed between all bits of both variables (each one only with the same bit of the other variable). </P>
<P style="TEXT-INDENT: 2em">The final binary value of <TT>c</TT> is 01000011, that is 67 in decimal numbers. So <TT>195&amp;87</TT> is equal to <TT>67</TT>.</P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200861810375291</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200861810375291</guid>
    <pubDate>Fri, 18 Jul 2008 10:37:05 +0800</pubDate>
    <dcterms:modified>2008-07-18T10:37:05+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/362721892008618103552363</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em"></P>
<P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">A <I>bit</I> is the minimum amount of information that we can imagine, since it only stores either value 1 or 0, which represents either YES or NO, activated or deactivated, true or false, etc... that is: two possible states each one opposite to the other, without possibility of any shades. We are going to consider that the two possible values of a bit are 0 and 1. </P>
<P style="TEXT-INDENT: 2em">Several operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this field: George Boole (1815-1864). </P>
<P style="TEXT-INDENT: 2em">All these operations have an established behavior and all of them can be applied to any bit no matter which value they contain (either 0 or 1). Next you have a list of the basic boolean operations and a table with the behavior of that operation with every possible combination of bits. </P>
<P style="TEXT-INDENT: 2em">AND</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits, which we will call <TT>a</TT> and <TT>b</TT>. The result of applying this AND operation is 1 if both <TT>a</TT> and <TT>b</TT> are equal to 1, and 0 in all other cases (i.e., if one or both of the variables is 0). </P>
<P style="TEXT-INDENT: 2em">AND (&amp;) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a&amp;b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>0</TD></TR>
<P></P>
<P style="TEXT-INDENT: 2em">
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>0</TD></TR></P>
<P style="TEXT-INDENT: 2em">
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>1</TD></TR></P></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">OR</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, or if both are 1. If none is equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">OR (|) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a|b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>1</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">XOR (Exclusive Or)</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, but not in the case that both are. There for, if neither or both of them are equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">XOR (^) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a^b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>0</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">NOT</P>
<P style="TEXT-INDENT: 2em">This operation is performed on a single bit. Its result is the inversion of the actual value of the bit: if it was set to 1 it becomes 0, and if it was 0 it becomes 1: </P>
<P style="TEXT-INDENT: 2em">NOT (~) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>~a</TH></TR>
<TR>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">These are the 4 basic boolean operations (AND, OR, XOR and NOT). Combining these operations we can obtain any possible result from two bits. </P>
<P style="TEXT-INDENT: 2em">In C++, these operators can be used with variables of any integer data type; the boolean operation is performed to all of the bits of each variable involved. For example, supposing two variables: <TT>a</TT> and <TT>b</TT>, both of type <TT>unsigned char</TT>, where <TT>a</TT> contains 195 (11000011 in binary) and <TT>b</TT> contains 87 (or 01010111 in binary). If we write the following code: </P>
<P style="TEXT-INDENT: 2em">
<TABLE>
<TBODY>
<TR>
<TD>
<P></P>
<P style="TEXT-INDENT: 2em">unsigned char a=195;unsigned char b=87;unsigned char c;c=a&amp;b;</P></TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">That means, that we conducted a bitwise AND operation between <TT>a</TT> and <TT>b</TT>. The operation is performed between the bits of the two variables that are located at the same position: The rightmost bit of <TT>c</TT> will contain the result of conducting the AND operation between the rightmost bits of <TT>a</TT> and <TT>b</TT>: </P>
<P style="TEXT-INDENT: 2em"><IMG src="http://www.cplusplus.com/files/25-boolean1.gif" border=0> </P>
<P style="TEXT-INDENT: 2em">The same operation is also performed between the second bits of both variables, and the third, and so on, until the operation is performed between all bits of both variables (each one only with the same bit of the other variable). </P>
<P style="TEXT-INDENT: 2em">The final binary value of <TT>c</TT> is 01000011, that is 67 in decimal numbers. So <TT>195&amp;87</TT> is equal to <TT>67</TT>.</P>
<P style="TEXT-INDENT: 2em"></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/362721892008618103552363</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/362721892008618103552363</guid>
    <pubDate>Fri, 18 Jul 2008 10:35:52 +0800</pubDate>
    <dcterms:modified>2008-07-18T10:35:52+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/3627218920086119312496</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top align=left rowSpan=2>
<P></P>
<P style="TEXT-INDENT: 2em">Parasoft C++test is an integrated solution for automating a broad range of best practices proven to improve software development team productivity and software quality. C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command line interface for regression testing. C++test integrates with Parasoft’s GRS reporting system, which provides interactive Web-based dashboards with drill-down capability, allowing teams to track project status and trends based on C++test results and other key process metrics.</P>
<P style="TEXT-INDENT: 2em">&nbsp;C and C++ code works as expected. leading IDEs as well as in batch processes via command C++test can be used both on the desktop under leading IDEs as well as in batch processes via command C++test enables coding policy enforcement, static analysis, Dtoolkit for code analysis, code review, automated unit and component testing, coverage analysis, and regression testing — on the desktop under leading IDEs and in batch processes.</P>
<P style="TEXT-INDENT: 2em">For embedded and cross-platform development, C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that theircomprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command C++test can be used in both host-based and target-based code analysis and test flows.</P></TD></TR></TBODY></TABLE></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/3627218920086119312496</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/3627218920086119312496</guid>
    <pubDate>Fri, 11 Jul 2008 09:03:12 +0800</pubDate>
    <dcterms:modified>2008-07-11T17:08:01+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/3627218920086119247855</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top align=left rowSpan=2>
<P></P>
<P style="TEXT-INDENT: 2em">&nbsp;C and C++ code works as expected. leading IDEs as well as in batch processes via command C++test can be used both on the desktop under leading IDEs as well as in batch processes via command C++test enables coding policy enforcement, static analysis, Dtoolkit for code analysis, code review, automated unit and component testing, coverage analysis, and regression testing — on the desktop under leading IDEs and in batch processes.</P>
<P style="TEXT-INDENT: 2em">Parasoft C++test is an integrated solution for automating a broad range of best practices proven to improve software development team productivity and software quality. C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command line interface for regression testing. C++test integrates with Parasoft’s GRS reporting system, which provides interactive Web-based dashboards with drill-down capability, allowing teams to track project status and trends based on C++test results and other key process metrics.</P>
<P style="TEXT-INDENT: 2em">For embedded and cross-platform development, C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that theircomprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command C++test can be used in both host-based and target-based code analysis and test flows.</P></TD></TR></TBODY></TABLE></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/3627218920086119247855</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/3627218920086119247855</guid>
    <pubDate>Fri, 11 Jul 2008 09:02:47 +0800</pubDate>
    <dcterms:modified>2008-07-11T15:59:00+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200864103458730</link>
    <description><![CDATA[<div>&nbsp;
<P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do. The advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp;&nbsp;&nbsp;The advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless,A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P>
<P style="TEXT-INDENT: 2em">When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the <I>level</I> of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written. </P>
<P style="TEXT-INDENT: 2em">Generally, </P>
<P style="TEXT-INDENT: 2em">Nowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program. </P>
<P style="TEXT-INDENT: 2em">A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language. </P>
<P style="TEXT-INDENT: 2em">Programming languagesthe advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.&nbsp; the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. </P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200864103458730</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200864103458730</guid>
    <pubDate>Fri, 4 Jul 2008 10:34:58 +0800</pubDate>
    <dcterms:modified>2008-07-04T10:34:58+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[2008年7月4日]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200864103249964</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em"></P>
<P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">&nbsp;The advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless,A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P>
<P style="TEXT-INDENT: 2em">When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the <I>level</I> of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written. </P>
<P style="TEXT-INDENT: 2em">Generally, </P>
<P style="TEXT-INDENT: 2em">Nowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program. </P>
<P style="TEXT-INDENT: 2em">A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language. </P>
<P style="TEXT-INDENT: 2em">Programming languages</P>
<P style="TEXT-INDENT: 2em">A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do. </P>
<P style="TEXT-INDENT: 2em"></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200864103249964</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200864103249964</guid>
    <pubDate>Fri, 4 Jul 2008 10:32:49 +0800</pubDate>
    <dcterms:modified>2008-07-04T10:32:49+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200852584216566</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">The same operation is also performed between the second bits of both variables, and the third, and so on, until the operation is performed between all bits of both variables (each one only with the same bit of the other variable). The minimum amount of information that we can imagine, since it only stores either value 1 or 0, which represents either YES or NO, activated or deactivated, true or false, etc... that is: two possible states each one opposite to the other, without possibility of any shades. We are going to consider that the two possible values of a bit are 0 and 1. Several operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this field: George Boole (1815-1864). </P>
<P style="TEXT-INDENT: 2em">All these operations have an established behavior and all of them can be applied to any bit no matter which value they contain (either 0 or 1). Next you have a list of the basic boolean operations and a table with the behavior of that operation with every possible combination of bits. </P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits, which we will call <TT>a</TT> and <TT>b</TT>. The result of applying this AND operation is 1 if both <TT>a</TT> and <TT>b</TT> are equal to 1, and 0 in all other cases (i.e., if one or both of the variables is 0). </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, or if both are 1. If none is equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, but not in the case that both are. There for, if neither or both of them are equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">This operation is performed on a single bit. Its result is the inversion of the actual value of the bit: if it was set to 1 it becomes 0, and if it was 0 it becomes 1: </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">These are the 4 basic boolean operations (AND, OR, XOR and NOT). Combining these operations we can obtain any possible result from two bits. </P>
<P style="TEXT-INDENT: 2em">In C++, these operators can be used with variables of any integer data type; the boolean operation is performed to all of the bits of each variable involved. For example, supposing two variables: <TT>a</TT> and <TT>b</TT>, both of type <TT>unsigned char</TT>, where <TT>a</TT> contains 195 (11000011 in binary) and <TT>b</TT> contains 87 (or 01010111 in binary). If we write the following code: </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">That means, that we conducted a bitwise AND operation between <TT>a</TT> and <TT>b</TT>. The operation is performed between the bits of the two variables that are located at the same position: The rightmost bit of <TT>c</TT> will contain the result of conducting the AND operation between the rightmost bits of <TT>a</TT> and <TT>b</TT>: </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">&nbsp;</P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200852584216566</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200852584216566</guid>
    <pubDate>Wed, 25 Jun 2008 08:42:16 +0800</pubDate>
    <dcterms:modified>2008-06-25T08:42:16+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/3627218920085258391710</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">The minimum amount of information that we can imagine, since it only stores either value 1 or 0, which represents either YES or NO, activated or deactivated, true or false, etc... that is: two possible states each one opposite to the other, without possibility of any shades. We are going to consider that the two possible values of a bit are 0 and 1. </P>
<P style="TEXT-INDENT: 2em">Several operations can be performed with bits, either in conjunction with other bits or themselves alone. These operations receive the name of <TT>boolean operations</TT>, a word that comes from the name of one of the mathematicians who contributed the more to this field: George Boole (1815-1864). </P>
<P style="TEXT-INDENT: 2em">All these operations have an established behavior and all of them can be applied to any bit no matter which value they contain (either 0 or 1). Next you have a list of the basic boolean operations and a table with the behavior of that operation with every possible combination of bits. </P>
<P style="TEXT-INDENT: 2em">AND</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits, which we will call <TT>a</TT> and <TT>b</TT>. The result of applying this AND operation is 1 if both <TT>a</TT> and <TT>b</TT> are equal to 1, and 0 in all other cases (i.e., if one or both of the variables is 0). </P>
<P style="TEXT-INDENT: 2em">AND (&amp;) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a&amp;b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>0</TD></TR>
<P></P>
<P style="TEXT-INDENT: 2em">
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>0</TD></TR></P>
<P style="TEXT-INDENT: 2em">
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>1</TD></TR></P></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">OR</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, or if both are 1. If none is equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">OR (|) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a|b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>1</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">XOR (Exclusive Or)</P>
<P style="TEXT-INDENT: 2em">This operation is performed between two bits (<TT>a</TT> and <TT>b</TT>). The result is 1 if either one of the two bits is 1, but not in the case that both are. There for, if neither or both of them are equal to 1 the result is 0. </P>
<P style="TEXT-INDENT: 2em">XOR (^) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>b</TH>
<TH>a^b</TH></TR>
<TR>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>0</TD>
<TD>1</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>1</TD>
<TD>0</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">NOT</P>
<P style="TEXT-INDENT: 2em">This operation is performed on a single bit. Its result is the inversion of the actual value of the bit: if it was set to 1 it becomes 0, and if it was 0 it becomes 1: </P>
<P style="TEXT-INDENT: 2em">NOT (~) 
<TABLE>
<TBODY>
<TR>
<TH>a</TH>
<TH>~a</TH></TR>
<TR>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>1</TD>
<TD>0</TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">These are the 4 basic boolean operations (AND, OR, XOR and NOT). Combining these operations we can obtain any possible result from two bits. </P>
<P style="TEXT-INDENT: 2em">In C++, these operators can be used with variables of any integer data type; the boolean operation is performed to all of the bits of each variable involved. For example, supposing two variables: <TT>a</TT> and <TT>b</TT>, both of type <TT>unsigned char</TT>, where <TT>a</TT> contains 195 (11000011 in binary) and <TT>b</TT> contains 87 (or 01010111 in binary). If we write the following code: </P>
<P style="TEXT-INDENT: 2em">
<TABLE>
<TBODY>
<TR>
<TD>
<P></P>
<P style="TEXT-INDENT: 2em">unsigned char a=195;unsigned char b=87;unsigned char c;c=a&amp;b;</P></TD></TR></TBODY></TABLE></P>
<P style="TEXT-INDENT: 2em">That means, that we conducted a bitwise AND operation between <TT>a</TT> and <TT>b</TT>. The operation is performed between the bits of the two variables that are located at the same position: The rightmost bit of <TT>c</TT> will contain the result of conducting the AND operation between the rightmost bits of <TT>a</TT> and <TT>b</TT>: </P>
<P style="TEXT-INDENT: 2em"><IMG src="http://www.cplusplus.com/files/25-boolean1.gif" border=0> </P>
<P style="TEXT-INDENT: 2em">The same operation is also performed between the second bits of both variables, and the third, and so on, until the operation is performed between all bits of both variables (each one only with the same bit of the other variable). </P>
<P style="TEXT-INDENT: 2em">The final binary value of <TT>c</TT> is 01000011, that is 67 in decimal numbers. So <TT>195&amp;87</TT> is equal to <TT>67</TT>.</P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/3627218920085258391710</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/3627218920085258391710</guid>
    <pubDate>Wed, 25 Jun 2008 08:39:17 +0800</pubDate>
    <dcterms:modified>2008-06-25T08:39:17+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200851894518991</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/"><FONT color=#870000>http://www.cdgamecollege.org</FONT></A> 电话：028-85586115</P>
<P style="TEXT-INDENT: 2em">Adapted to each machine the code is made for, and other languages are inherently high level, like the Java, that is designed to be totally independent of the platform where is going to run. The C++ language is in a middle positionlevel of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. Although there are languages that are clearly thought to be low level, like Assembly, C++ has certain characteristics over other programming languages. The most remarkable ones are: Object-oriented programming The possibility to orientate programming to objects allows the programmer to design applications from a point of view more like a communication between objects rather than on a structured sequence of code. In addition it allows a greater reusability of code in a more logical and productive way. Portability You can practically compile the same C++ code in almost any type of computer and operating system without making any changes. C++ is the most used and ported programming language in the world. Brevity Code written in C++ is very short in comparison with other languages, since the use of special characters is preferred to key words, saving some effort to the programmer (and prolonging the life of our keyboards!). Modular programming An application's body in C++ can be made up of several source code files that are compiled separately and then linked together. Saving time since it is not necessary to recompile the complete application when making a single change but only the file that contains it. In addition, this characteristic allows to link C++ code with code produced in other languages, such as Assembler or C. C Compatibility C++ is backwards compatible with the C language. Any code written in C can easily be included in a C++ program without making any change.</P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200851894518991</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200851894518991</guid>
    <pubDate>Wed, 18 Jun 2008 09:45:18 +0800</pubDate>
    <dcterms:modified>2008-06-18T09:45:18+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200851894328920</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">Computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program. A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language. Programming languagesA programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do. When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the <I>level</I> of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written. Generally, high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless, the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200851894328920</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200851894328920</guid>
    <pubDate>Wed, 18 Jun 2008 09:43:28 +0800</pubDate>
    <dcterms:modified>2008-06-18T09:43:28+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200851351435468</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115</P>
<P style="TEXT-INDENT: 2em">Instruction sets are adapted to each machine the code is made for, and other languages are inherently high level, like the Java, that is designed to be totally independent of the platform where is going to run. The C++ language is in a middle position</P>
<P style="TEXT-INDENT: 2em">level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P>
<P style="TEXT-INDENT: 2em">Although there are languages that are clearly thought to be low level, like Assembly, </P>
<P style="TEXT-INDENT: 2em">C++ has certain characteristics over other programming languages. The most remarkable ones are: </P>
<P style="TEXT-INDENT: 2em">
</P><DL>
<DT>Object-oriented programming </DT>
<DD>The possibility to orientate programming to objects allows the programmer to design applications from a point of view more like a communication between objects rather than on a structured sequence of code. In addition it allows a greater reusability of code in a more logical and productive way. 
<P></P>
<P style="TEXT-INDENT: 2em"></P></DD>
<DT>Portability </DT>
<DD>You can practically compile the same C++ code in almost any type of computer and operating system without making any changes. C++ is the most used and ported programming language in the world. 
<P></P>
<P style="TEXT-INDENT: 2em"></P></DD>
<DT>Brevity </DT>
<DD>Code written in C++ is very short in comparison with other languages, since the use of special characters is preferred to key words, saving some effort to the programmer (and prolonging the life of our keyboards!). 
<P></P>
<P style="TEXT-INDENT: 2em"></P></DD>
<DT>Modular programming </DT>
<DD>An application's body in C++ can be made up of several source code files that are compiled separately and then linked together. Saving time since it is not necessary to recompile the complete application when making a single change but only the file that contains it. In addition, this characteristic allows to link C++ code with code produced in other languages, such as Assembler or C. 
<P></P>
<P style="TEXT-INDENT: 2em"></P></DD>
<DT>C Compatibility </DT>
<DD>C++ is backwards compatible with the C language. Any code written in C can easily be included in a C++ program without making any change. </DD></DL></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200851351435468</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200851351435468</guid>
    <pubDate>Fri, 13 Jun 2008 17:14:35 +0800</pubDate>
    <dcterms:modified>2008-06-13T17:14:35+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200851351219709</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top align=left rowSpan=2>
<P></P>
<P style="TEXT-INDENT: 2em">Dtoolkit for code analysis, code review, automated unit and component testing, coverage analysis, and regression testing — on the desktop under leading IDEs and in batch processes.</P>
<P style="TEXT-INDENT: 2em">Parasoft C++test is an integrated solution for automating a broad range of best practices proven to improve software development team productivity and software quality. C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command line interface for regression testing. C++test integrates with Parasoft’s GRS reporting system, which provides interactive Web-based dashboards with drill-down capability, allowing teams to track project status and trends based on C++test results and other key process metrics.</P>
<P style="TEXT-INDENT: 2em">For embedded and cross-platform development, C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. leading IDEs as well as in batch processes via command C++test can be used both on the desktop under leading IDEs as well as in batch processes via command C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command C++test can be used in both host-based and target-based code analysis and test flows.</P>
<P style="TEXT-INDENT: 2em"></P></TD></TR></TBODY></TABLE></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200851351219709</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200851351219709</guid>
    <pubDate>Fri, 13 Jun 2008 17:12:19 +0800</pubDate>
    <dcterms:modified>2008-06-13T17:19:13+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200853112112487</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless, the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. </P>
<P style="TEXT-INDENT: 2em">A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P>
<P style="TEXT-INDENT: 2em">When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the <I>level</I> of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written. </P>
<P style="TEXT-INDENT: 2em">Generally, </P>
<P style="TEXT-INDENT: 2em">Nowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program. </P>
<P style="TEXT-INDENT: 2em">A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language. </P>
<P style="TEXT-INDENT: 2em">Programming languages</P>
<P style="TEXT-INDENT: 2em">A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do. </P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200853112112487</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200853112112487</guid>
    <pubDate>Tue, 3 Jun 2008 11:21:12 +0800</pubDate>
    <dcterms:modified>2008-06-03T11:21:12+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200853112032673</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em"></P>
<P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the <I>level</I> of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written. </P>
<P style="TEXT-INDENT: 2em">Generally, </P>
<P style="TEXT-INDENT: 2em">Nowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program. </P>
<P style="TEXT-INDENT: 2em">A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language. </P>
<P style="TEXT-INDENT: 2em">Programming languages</P>
<P style="TEXT-INDENT: 2em">A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do. </P>
<P style="TEXT-INDENT: 2em">high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless, the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. </P>
<P style="TEXT-INDENT: 2em">A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P>
<P style="TEXT-INDENT: 2em"></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200853112032673</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200853112032673</guid>
    <pubDate>Tue, 3 Jun 2008 11:20:32 +0800</pubDate>
    <dcterms:modified>2008-06-03T11:20:32+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200842782758995</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 The exit function</P>
<P style="TEXT-INDENT: 2em">&nbsp; </P>
<P style="TEXT-INDENT: 2em">The switch statement is a bit peculiar within the C++ language because it uses labels instead of blocks. This forces us to put break statements after the group of statements that we want to be executed for a specific condition. Otherwise the remainder statements -including those corresponding to other labels- will also be executed until the end of the switch selective block or a break statement is reached. </P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">It works in the following way: switch evaluates expression and checks if it is equivalent to constant1, if it is, it executes group of statements 1 until it finds the break statement. When it finds this break statement the program jumps to the end of the switch selective structure. </P>
<P style="TEXT-INDENT: 2em">If expression was not equal to constant1 it will be checked against constant2. If it is equal to this, it will execute group of statements 2 until a break keyword is found, and then will jump to the end of the switch selective structure. </P>
<P style="TEXT-INDENT: 2em">Finally, if the value of expression did not match any of the previously specified constants (you can include as many case labels as values you want to check), the program will execute the statements included after the default: label, if it exists (since it is optional). </P>
<P style="TEXT-INDENT: 2em">Both of the following code fragments have the same behavior: </P>
<P style="TEXT-INDENT: 2em">switch example if-else equivalent </P>
<P style="TEXT-INDENT: 2em">switch (x) {</P>
<P style="TEXT-INDENT: 2em">&nbsp; case 1:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; cout &lt;&lt; "x is 1";</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; break;</P>
<P style="TEXT-INDENT: 2em">&nbsp; case 2:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; cout &lt;&lt; "x is 2";</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; break;</P>
<P style="TEXT-INDENT: 2em">&nbsp; default:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; cout &lt;&lt; "value of x unknown";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">&nbsp;if (x == 1) {</P>
<P style="TEXT-INDENT: 2em">&nbsp; cout &lt;&lt; "x is 1";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">else if (x == 2) {</P>
<P style="TEXT-INDENT: 2em">&nbsp; cout &lt;&lt; "x is 2";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">else {</P>
<P style="TEXT-INDENT: 2em">&nbsp; cout &lt;&lt; "value of x unknown";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">&nbsp; </P>
<P style="TEXT-INDENT: 2em">The switch statement is a bit peculiar within the C++ language because it uses labels instead of blocks. This forces us to put break statements after the group of statements that we want to be executed for a specific condition. Otherwise the remainder statements -including those corresponding to other labels- will also be executed until the end of the switch selective block or a break statement is reached. </P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200842782758995</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200842782758995</guid>
    <pubDate>Tue, 27 May 2008 08:27:58 +0800</pubDate>
    <dcterms:modified>2008-05-27T08:27:58+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200842782715922</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 The exit function</P>
<P style="TEXT-INDENT: 2em">The exitcode is used by some operating systems and may be used by calling programs. By convention, an exit code of 0 means that the program finished normally and any other value means that some error or unexpected results happened. </P>
<P style="TEXT-INDENT: 2em">The selective structure: switch.</P>
<P style="TEXT-INDENT: 2em">The syntax of the switch statement is a bit peculiar. Its objective is to check several possible constant values for an expression. Something similar to what we did at the beginning of this section with the concatenation of several if and else if instructions. Its form is the following: </P>
<P style="TEXT-INDENT: 2em">switch (expression)</P>
<P style="TEXT-INDENT: 2em">{</P>
<P style="TEXT-INDENT: 2em">&nbsp; case constant1:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp;&nbsp; group of statements 1;</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp;&nbsp; break;</P>
<P style="TEXT-INDENT: 2em">&nbsp; case constant2:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp;&nbsp; group of statements 2;</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp;&nbsp; break;</P>
<P style="TEXT-INDENT: 2em">&nbsp; .</P>
<P style="TEXT-INDENT: 2em">&nbsp; .</P>
<P style="TEXT-INDENT: 2em">&nbsp; .</P>
<P style="TEXT-INDENT: 2em">&nbsp; default:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp;&nbsp; default group of statements</P>
<P style="TEXT-INDENT: 2em">}</P>
<P style="TEXT-INDENT: 2em">It works in the following way: switch evaluates expression and checks if it is equivalent to constant1, if it is, it executes group of statements 1 until it finds the break statement. When it finds this break statement the program jumps to the end of the switch selective structure. </P>
<P style="TEXT-INDENT: 2em">If expression was not equal to constant1 it will be checked against constant2. If it is equal to this, it will execute group of statements 2 until a break keyword is found, and then will jump to the end of the switch selective structure. </P>
<P style="TEXT-INDENT: 2em">Finally, if the value of expression did not match any of the previously specified constants (you can include as many case labels as values you want to check), the program will execute the statements included after the default: label, if it exists (since it is optional). </P>
<P style="TEXT-INDENT: 2em">Both of the following code fragments have the same behavior: </P>
<P style="TEXT-INDENT: 2em">switch example if-else equivalent </P>
<P style="TEXT-INDENT: 2em">switch (x) {</P>
<P style="TEXT-INDENT: 2em">&nbsp; case 1:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; cout &lt;&lt; "x is 1";</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; break;</P>
<P style="TEXT-INDENT: 2em">&nbsp; case 2:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; cout &lt;&lt; "x is 2";</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; break;</P>
<P style="TEXT-INDENT: 2em">&nbsp; default:</P>
<P style="TEXT-INDENT: 2em">&nbsp;&nbsp;&nbsp; cout &lt;&lt; "value of x unknown";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">&nbsp;if (x == 1) {</P>
<P style="TEXT-INDENT: 2em">&nbsp; cout &lt;&lt; "x is 1";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">else if (x == 2) {</P>
<P style="TEXT-INDENT: 2em">&nbsp; cout &lt;&lt; "x is 2";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">else {</P>
<P style="TEXT-INDENT: 2em">&nbsp; cout &lt;&lt; "value of x unknown";</P>
<P style="TEXT-INDENT: 2em">&nbsp; }</P>
<P style="TEXT-INDENT: 2em">&nbsp; </P>
<P style="TEXT-INDENT: 2em">The switch statement is a bit peculiar within the C++ language because it uses labels instead of blocks. This forces us to put break statements after the group of statements that we want to be executed for a specific condition. Otherwise the remainder statements -including those corresponding to other labels- will also be executed until the end of the switch selective block or a break statement is reached. </P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200842782715922</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200842782715922</guid>
    <pubDate>Tue, 27 May 2008 08:27:15 +0800</pubDate>
    <dcterms:modified>2008-05-27T08:27:15+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/362721892008422114815637</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">Nowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program. </P>
<P style="TEXT-INDENT: 2em">A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language. </P>
<P style="TEXT-INDENT: 2em">Programming languages</P>
<P style="TEXT-INDENT: 2em">A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do. </P>
<P style="TEXT-INDENT: 2em">When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the <I>level</I> of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written. </P>
<P style="TEXT-INDENT: 2em">Generally, high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless, the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine. </P>
<P style="TEXT-INDENT: 2em">A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones. </P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/362721892008422114815637</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/362721892008422114815637</guid>
    <pubDate>Thu, 22 May 2008 23:48:15 +0800</pubDate>
    <dcterms:modified>2008-05-22T23:48:15+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[c++]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/36272189200842211479616</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115 </P>
<P style="TEXT-INDENT: 2em">&nbsp;C++ is a simple and clear language in its expressions. It is true that a piece of code written with C++ may be seen by a stranger of programming a bit more cryptic than some other languages due to the intensive use of special characters ({}[]*&amp;!|...), but once one knows the meaning of such characters it can be even more schematic and clear than other languages that rely more on English words.</P>
<P>&nbsp;It literally means "increased C", reflecting its nature as an evolution of the C language.</P>
<P></P>
<P style="TEXT-INDENT: 2em">Also, the simplification of the input/output interface of C++ in comparison to C and the incorporation of the standard template library in the language, makes the communication and manipulation of data in a program written in C++ as simple as in other languages, without losing the power it offers.</P>
<P style="TEXT-INDENT: 2em">&nbsp;
</P><DL>
<DD>There are many ways. Depending on the time you have and your preferences. The language is taught in many types of academic forms throughout the world, and can also be learnt by oneself with the help of tutorials and books. Website contains an online tutorial to help you achieve the objective of learning this language.
<P></P>
<P style="TEXT-INDENT: 2em"></P></DD>
<DT>&nbsp;</DT>
<DD>It is a programming model that treats programming from a perspective where each component is considered an object, with its own properties and methods, replacing or complementing strutured programming paradigm, where the focus was on procedures and parameters.No. No one owns the C++ language. Anyone can use the language royalty-free.ANSI-C++ is the name by which the international ANSI/ISO standard for the C++ language is known. But before this standard was published, C++ was already widely used and therefore there is a lot of code out there written in pre-standard C++. Referring to ANSI-C++ explicitly differenciates it from pre-standard C++ code, which is incompatible in some ways.</DD></DL>
<P></P>
<P style="TEXT-INDENT: 2em">
</P><DL>
<DT>&nbsp;</DT>
<DD>The standard was published in 1998, followed by a revision in 2003. Some compilers older than the standard implement already some of its features, and many newer compilers don't implement all ANSI-C++ features. If you have doubts on whether your compiler will be able to compile ANSI-C++ code, you can try to compile a piece of code with some of the new features introduced mainly after the publication of the standard. For example, the following code fragment uses the <TT>bool</TT> type, and uses namespaces and templates.
<P></P>
<P style="TEXT-INDENT: 2em"></P></DD></DL></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/36272189200842211479616</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/36272189200842211479616</guid>
    <pubDate>Thu, 22 May 2008 23:47:09 +0800</pubDate>
    <dcterms:modified>2008-05-22T23:47:09+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[Structure of a program]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/3627218920084585323294</link>
    <description><![CDATA[<div><P>成都游戏学院 <A href="http://www.cdgamecollege.org/"><FONT color=#870000>http://www.cdgamecollege.org</FONT></A> 电话：028-85586115 </P>
<P>
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top align=left rowSpan=2><FONT >Parasoft C++test</FONT><BR><FONT >
<P>A complete C/C++ developer's toolkit for code analysis, code review, automated unit and component testing, coverage analysis, and regression testing — on the desktop under leading IDEs and in batch processes.</P>
<P>Parasoft C++test is an integrated solution for automating a broad range of best practices proven to improve software development team productivity and software quality. C++test enables coding policy enforcement, static analysis, comprehensive code review, and unit and component testing to provide teams a practical way to ensure that their C and C++ code works as expected. C++test can be used both on the desktop under leading IDEs as well as in batch processes via command line interface for regression testing. C++test integrates with Parasoft’s GRS reporting system, which provides interactive Web-based dashboards with drill-down capability, allowing teams to track project status and trends based on C++test results and other key process metrics.</P>
<P>For embedded and cross-platform development, C++test can be used in both host-based and target-based code analysis and test flows.<BR><BR></P></FONT></TD></TR>
<TR>
<TD vAlign=top align=left>
<P><FONT ><FONT ><BR></FONT></FONT>&nbsp;</P></TD>
<TD style="PADDING-BOTTOM: 12px" vAlign=top align=middle></TD></TR>
<TR>
<TD style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px" bgColor=#9b9a9e colSpan=5 height=1>被过滤广告</TD></TR>
<TR>
<TD colSpan=5><!-- BODY -->
<H2>Supported Host Environments </H2>
<H4>Platforms</H4>
<UL>
<LI>Windows NT/2000/XP 
</LI><LI>Linux kernel 2.4 or 2.6 or higher with glibc 2.2 or higher and an x86-compatible processor 
</LI><LI>Linux kernel 2.6 or higher with glibc 2.3 or higher and an x86_64-compatible processor (32-bit compatibility package is required) 
</LI><LI>Solaris 7, 8, 9, 10 and an UltraSPARC processor </LI></UL>
<H4>IDEs with Plug-in Support</H4>
<UL>
<LI>Eclipse 3.1, 3.2 (32-bit) 
</LI><LI>Visual Studio .NET 2003 and 2005 
</LI><LI>Wind River Workbench 2.5+ (for embedded development) </LI></UL>
<H2>Host Compilers</H2>
<UL>
<LI>Windows: Microsoft Visual C++ 6.0, .NET, .NET 2003, or 2005, GCC 2.95.x, 3.2.x, 3.3.x, 3.4.x; Green Hills MULTI for Windows x86 Native v4.0.x 
</LI><LI>Linux (x86 processor): GCC 2.95.x, 3.2.x, 3.3.x, 3.4.x, 4.0.x 
</LI><LI>Linux (x86_64 processor): GCC 3.4.x, 4.0.x 
</LI><LI>Solaris: GCC 2.95.x, 3.2.x, 3.3.x, 3.4.x, 4.0.x, Sun C++ 5.3 (Sun Forte C++ 6 Update 2), Sun C++ 5.5 (Sun ONE Studio 8), Sun C++ 5.6 (Sun ONE Studio 9), Sun C++ 5.7 (Sun ONE Studio 10) Sun C++ 5.8 (Sun ONE Studio 11); Green Hills MULTI for SPARC Solaris Native v4.0.x </LI></UL>
<H2>Target Compilers</H2>
<UL>
<LI>Wind River GCC 3.4.x and DIAB 5.4+ 
</LI><LI>GCC 2.95.x - 4.0.x cross-compilers 
</LI><LI>Green Hills 4.0.x <!-- XBODY --></LI></UL>
<H3>C++test benefits</H3>
<UL>
<LI><STRONG>Increase team development productivity</STRONG> — Apply a comprehensive set of best practices that reduce testing time, testing effort, and the number of defects that reach QA. 
</LI><LI><STRONG>Achieve more with existing development resources</STRONG> — Automatically vet known coding issues so more time can be dedicated to tasks that require human intelligence. 
</LI><LI><STRONG>Build on the code base with confidence</STRONG> — Efficiently construct, continuously execute, and maintain a comprehensive regression test suite that detects whether updates break existing functionality. 
</LI><LI><STRONG>Gain instant visibility into C and C++ code quality and readiness</STRONG> — Access on-demand objective code assessments and track progress towards quality and schedule targets. 
</LI><LI><STRONG>Reduce support costs</STRONG> — Automate negative testing on a broad range of potential user paths to uncover problems that might otherwise surface only in “real-world” usage. </LI></UL>
<H3>C++test features</H3>
<UL>
<LI>Static analysis of code for compliance with user-selected coding standards 
</LI><LI>Graphical RuleWizard editor for creating custom coding rules 
</LI><LI>Static code path simulation for identifying potential runtime errors 
</LI><LI>Automated code review with a graphical interface and progress tracking 
</LI><LI>Automated generation and execution of unit and component-level tests 
</LI><LI>Flexible stub framework 
</LI><LI>Full support for regression testing 
</LI><LI>Code coverage analysis with code highlighting 
</LI><LI>Full team deployment infrastructure for desktop and command line usage </LI></UL></TD></TR></TBODY></TABLE></P></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/3627218920084585323294</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/3627218920084585323294</guid>
    <pubDate>Mon, 5 May 2008 08:53:23 +0800</pubDate>
    <dcterms:modified>2008-05-06T16:04:04+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[C++ Language FAQ]]></title>	
    <link>http://blog.163.com/panyang_1/blog/static/3627218920084584934744</link>
    <description><![CDATA[<div><P style="TEXT-INDENT: 2em">成都游戏学院 <A href="http://www.cdgamecollege.org/">http://www.cdgamecollege.org</A> 电话：028-85586115
</P><H3>Frequently Asked Questions</H3>
<P>
</P><DL>
<DT>What is C++? 
</DT><DD>C++ is a programming language. It literally means "increased C", reflecting its nature as an evolution of the C language.<BR>
</DD><DT>Is it necessary to already know another programming language before learning C++? 
</DT><DD>Not necessarily. C++ is a simple and clear language in its expressions. It is true that a piece of code written with C++ may be seen by a stranger of programming a bit more cryptic than some other languages due to the intensive use of special characters ({}[]*&amp;!|...), but once one knows the meaning of such characters it can be even more schematic and clear than other languages that rely more on English words.<BR>Also, the simplification of the input/output interface of C++ in comparison to C and the incorporation of the standard template library in the language, makes the communication and manipulation of data in a program written in C++ as simple as in other languages, without losing the power it offers.<BR>[dl] 
</DD><DT>How can I learn C++? 
</DT><DD>There are many ways. Depending on the time you have and your preferences. The language is taught in many types of academic forms throughout the world, and can also be learnt by oneself with the help of tutorials and books. The <A href="http://www.cplusplus.com/doc/">documentation section</A> of this Website contains an online tutorial to help you achieve the objective of learning this language.<BR>
</DD><DT>What is OOP: Object-oriented programming? 
</DT><DD>It is a programming model that treats programming from a perspective where each component is considered an object, with its own properties and methods, replacing or complementing strutured programming paradigm, where the focus was on procedures and parameters.<BR>
</DD><DT>Is C++ a propietary language? 
</DT><DD>No. No one owns the C++ language. Anyone can use the language royalty-free.<BR>
</DD><DT>What is ANSI-C++? 
</DT><DD>ANSI-C++ is the name by which the international ANSI/ISO standard for the C++ language is known. But before this standard was published, C++ was already widely used and therefore there is a lot of code out there written in pre-standard C++. Referring to ANSI-C++ explicitly differenciates it from pre-standard C++ code, which is incompatible in some ways.<BR>
</DD><DT>How may I know if my compiler supports ANSI-C++? 
</DT><DD>The standard was published in 1998, followed by a revision in 2003. Some compilers older than the standard implement already some of its features, and many newer compilers don't implement all ANSI-C++ features. If you have doubts on whether your compiler will be able to compile ANSI-C++ code, you can try to compile a piece of code with some of the new features introduced mainly after the publication of the standard. For example, the following code fragment uses the <TT>bool</TT> type, and uses namespaces and templates.<BR>
<TABLE >
<TBODY>
<TR>
<TD ><PRE><SPAN >#include &lt;iostream&gt;</SPAN>
<SPAN >using</SPAN> <SPAN >namespace</SPAN> std;
<SPAN >template</SPAN> &lt;<SPAN >class</SPAN> T&gt;
<SPAN >bool</SPAN> ansisupported (T x) { <SPAN >return</SPAN> <SPAN >true</SPAN>; }

<SPAN >int</SPAN> main() {
  <SPAN >if</SPAN> (ansisupported(0)) cout &lt;&lt; <SPAN >"ANSI OK"</SPAN>;
  <SPAN >return</SPAN> 0;
}
</PRE></TD>
<TD ><PRE>ANSI OK
</PRE></TD></TR></TBODY></TABLE>If your compiler is able to compile this program, you will be able to compile most of the existing ANSI-C++ code.<BR>
</DD><DT>How can I make windowed programs? 
</DT><DD>You need a C++ compiler that can link code for your windowing environment (Windows, XWindow, MacOS, ...). Windowed programs do not generally use the console to communicate with the user. They use a set of functions or classes to manipulate windows instead, which are specific to each environment. Anyway the same principles apply both for console and windowed programs, except for communicating with the user.<BR>
</DD><DT>What is Visual C++? And what does "visual programming" mean? 
</DT><DD>Visual C++ is the name of a C++ compiler with an integrated environment from Microsoft. It includes special tools that simplify the development of large applications as well as specific libraries that improve productivity. The use of these tools is generally known as visual programming. Other manufacturers also develop these types of tools and libraries, like Borland C++, Visual Age, etc...<BR></DD></DL></div>]]></description>
	    <author><![CDATA[panyang_1]]></author>
	    <comments>http://blog.163.com/panyang_1/blog/static/3627218920084584934744</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://blog.163.com/panyang_1/blog/static/3627218920084584934744</guid>
    <pubDate>Mon, 5 May 2008 08:49:34 +0800</pubDate>
    <dcterms:modified>2008-05-05T08:49:34+08:00</dcterms:modified>
  </item>    
 </channel>
</rss>