<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[.忽然兜風ש]]></title> 
    <link>http://www.beyourman.com/</link> 
    <description><![CDATA[艾云超毕业于扬州工业职业技术学院电子信息工程系0501网专]]></description> 
    <language>ch</language> 
    <copyright><![CDATA[Copyright 2010, .忽然兜風ש]]></copyright> 
    <webMaster><![CDATA[adobo@qq.com (Adobo)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Thu, 09 Sep 2010 18:15:02 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[指针的学习]]></title> 
      <link><![CDATA[http://www.beyourman.com/article.asp?id=25]]></link> 
      <category><![CDATA[Man's C++]]></category> 
      <author><![CDATA[adobo <null@null.com>]]></author> 
      <pubDate>Thu, 26 Mar 2009 10:10:38 +0800</pubDate> 
      <description><![CDATA[#include &lt;iostream&gt; //使用头文件<br />using namespace std; //命名空间<br /><br />void main() //主函数,返回值为INT型<br />{<br />&nbsp;&nbsp;int *pt=new int;<br />&nbsp;&nbsp;double *pn=new double;<br />&nbsp;&nbsp;*pt=10000;<br />&nbsp;&nbsp;*pn=10000000.10;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;int *pt=&quot;&lt;&lt;*pt&lt;&lt;&quot;,The location is:&quot;&lt;&lt;pt&lt;&lt;endl;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;double *pn=&quot;&lt;&lt;*pn&lt;&lt;&quot;,The location is:&quot;&lt;&lt;pn&lt;&lt;endl;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;size of *pt=&quot;&lt;&lt;sizeof(*pt)&lt;&lt;&quot;,size of pt=&quot;&lt;&lt;sizeof(pt)&lt;&lt;endl;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;size of *pn=&quot;&lt;&lt;sizeof(*pn)&lt;&lt;&quot;,size of pn=&quot;&lt;&lt;sizeof(pn)&lt;&lt;endl;<br />&nbsp;&nbsp;cin.get();<br />}]]></description>
      <wfw:commentRss><![CDATA[http://www.beyourman.com/feed.asp?q=comment&id=25]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[字符串数组的操作练习]]></title> 
      <link><![CDATA[http://www.beyourman.com/article.asp?id=23]]></link> 
      <category><![CDATA[Man's C++]]></category> 
      <author><![CDATA[adobo <null@null.com>]]></author> 
      <pubDate>Tue, 24 Mar 2009 11:53:02 +0800</pubDate> 
      <description><![CDATA[#include &lt;iostream&gt;<br />#include &lt;cstring&gt;<br />int main()<br />{<br />&nbsp;&nbsp;using namespace std;<br />&nbsp;&nbsp;const int iSize=15;//<br />&nbsp;&nbsp;char cYourName[iSize];<br />&nbsp;&nbsp;char cMyName[iSize]=&quot;AiYunchao&quot;;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;Hello,My Name is &quot;&lt;&lt;cMyNam e&lt;&lt;endl;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;What\&#39;s is your name?&quot;&lt;&lt;endl;<br />&nbsp;&nbsp;cin&gt;&gt;cYourName;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;Yeah,&quot;&lt;&lt;cYourName&lt;&lt;&quot;,Your name has &quot;&lt;&lt;strlen(cYourName)&lt;&lt;&quot; chars&quot;&lt;&lt;endl;//测试输入名称的长度，strlen库函数来自#include &lt;cstring&gt;<br />&nbsp;&nbsp;cout&lt;&lt;&quot;It spands ]]></description>
      <wfw:commentRss><![CDATA[http://www.beyourman.com/feed.asp?q=comment&id=23]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[开始学习C++，第一个完整程序]]></title> 
      <link><![CDATA[http://www.beyourman.com/article.asp?id=22]]></link> 
      <category><![CDATA[Man's C++]]></category> 
      <author><![CDATA[adobo <null@null.com>]]></author> 
      <pubDate>Tue, 24 Mar 2009 00:24:12 +0800</pubDate> 
      <description><![CDATA[//这是一个将秒转换成几天几时几分几秒的程序<br />#include &lt;iostream&gt; //使用头文件<br />using namespace std; //命名空间<br />const int HOUR_TO_DAY=24; //CONST限定符，定义常量<br />const int MIN_TO_HOUR=60;<br />const int SEC_TO_MIN=60;<br />int main() //主函数,返回值为INT型<br />{<br />&nbsp;&nbsp;long lSec; //定义长整型<br />&nbsp;&nbsp;cout&lt;&lt;&quot;Enter The Seconds:______\b\b\b\b\b\b&quot;; //采用下划线<br />&nbsp;&nbsp;cin&gt;&gt;lSec;//输入<br />&nbsp;&nbsp;int iDay,iHour,iMin,iSec;//定义天，时，分，秒<br />&nbsp;&nbsp;iSec=lSec%SEC_TO_MIN;//计算秒<br />&nbsp;&nbsp;iMin=((lSec-iSec)/SEC_TO_MIN)%MIN_TO_HOUR;//计算分<br />]]></description>
      <wfw:commentRss><![CDATA[http://www.beyourman.com/feed.asp?q=comment&id=22]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
