锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲欧洲精品成人久久奇米网,久久91精品国产91久,精品久久久久久国产潘金莲http://m.shnenglu.com/mirguest/category/15955.htmlzh-cnWed, 02 Feb 2011 04:26:54 GMTWed, 02 Feb 2011 04:26:54 GMT60[瀵煎叆][C++]鐢ㄤ綅錛坆it錛夎繘琛屾帓搴?/title><link>http://m.shnenglu.com/mirguest/articles/139682.html</link><dc:creator>mirguest</dc:creator><author>mirguest</author><pubDate>Wed, 02 Feb 2011 04:01:00 GMT</pubDate><guid>http://m.shnenglu.com/mirguest/articles/139682.html</guid><wfw:comment>http://m.shnenglu.com/mirguest/comments/139682.html</wfw:comment><comments>http://m.shnenglu.com/mirguest/articles/139682.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/mirguest/comments/commentRss/139682.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/mirguest/services/trackbacks/139682.html</trackback:ping><description><![CDATA[<p>浠ヤ笅綆楁硶鐪嬭嚜銆婄紪紼嬬彔鐜戙嬶紝鐢變簬娌$湅榪囩畻娉曚功錛岃寰楄繖涓緢鏈夋剰鎬濄?/p> <p>鍏蜂綋鍙互鍙傝冪涓绔犮?/p> <p>鍦ㄥ鏁板瓧榪涜鎺掑簭鏃訛紝浣跨敤榪欐牱鐨勬柟娉曪細</p> <p>濡倇1,2,3,5,8}錛屽彲浠ョ敤浣嶏紙bit錛夋潵琛ㄧず錛?/p> <p>0 1 1 1 0 1 0 0 1</p> <p>鎵浠ワ紝濡傛灉鏁版嵁娌℃湁閲嶅錛屽茍涓斿緢澶ф椂錛屽氨鍙互浣跨敤榪欎釜鏂規硶銆?/p> <p>浣嗙幇鍦ㄨ繕涓嶇煡閬撳浣曠敤浣嶏紝灝辯敤瀛楄妭浜嗭紝鎴戦噰鍙?span style="FONT-FAMILY: Courier New">bool<span style="FONT-FAMILY: Arial, 瀹嬩綋">鏉?/span></span>瀹炵幇錛?/p> <p><span style="FONT-FAMILY: Courier New">#include<iostream></span><br><span style="FONT-FAMILY: Courier New">using namespace std;</span></p> <p><span style="FONT-FAMILY: Courier New">int main()</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New">    const int size=50;</span><br><span style="FONT-FAMILY: Courier New">    const int size2=10;</span><br><span style="FONT-FAMILY: Courier New">    int seq[size2]={9,2,1,3,6,12,49,20,4,19};</span><br><span style="FONT-FAMILY: Courier New">    bool my[size]={0};</span><br><span style="FONT-FAMILY: Courier New">    for(int i=0;i<size2;++i){</span><br><span style="FONT-FAMILY: Courier New">        my[seq[i]]=1;</span><br><span style="FONT-FAMILY: Courier New">    }</span><br><span style="FONT-FAMILY: Courier New">    for(int j=0;j<size;++j){</span><br><span style="FONT-FAMILY: Courier New">        if(my[j]==1)</span><br><span style="FONT-FAMILY: Courier New">            cout<<j<<endl;</span><br><span style="FONT-FAMILY: Courier New">    }</span></p> <p><span style="FONT-FAMILY: Courier New">}</span><br></p> <a >闃呰鍏ㄦ枃</a> <br><strong>綾誨埆錛?/strong><a >c++</a> <a >鏌ョ湅璇勮</a><br>鏂囩珷鏉ユ簮:<a >http://hi.baidu.com/mirguest/blog/item/97f1ea7d69af4a1b28388ada.html</a> <img src ="http://m.shnenglu.com/mirguest/aggbug/139682.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/mirguest/" target="_blank">mirguest</a> 2011-02-02 12:01 <a href="http://m.shnenglu.com/mirguest/articles/139682.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[瀵煎叆][C++]c++娌夋濆綍絎?0绔犱緥瀛愨滃瓧絎﹀浘鍍忊?/title><link>http://m.shnenglu.com/mirguest/articles/139679.html</link><dc:creator>mirguest</dc:creator><author>mirguest</author><pubDate>Wed, 02 Feb 2011 04:01:00 GMT</pubDate><guid>http://m.shnenglu.com/mirguest/articles/139679.html</guid><wfw:comment>http://m.shnenglu.com/mirguest/comments/139679.html</wfw:comment><comments>http://m.shnenglu.com/mirguest/articles/139679.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/mirguest/comments/commentRss/139679.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/mirguest/services/trackbacks/139679.html</trackback:ping><description><![CDATA[<p>铏界劧榪樹笉鏄緢鎳傚晩錛屼絾鍗村緢鏈夋剰鎬濄?/p> <p>涓嬮潰鎶婅緵杈涜嫤鑻︽墦鐨勪唬鐮佽創鍑烘潵錛屽ぇ瀹朵竴璧峰涔犮?/p> <p>涓嬮潰鏄?<span style="FONT-FAMILY: Comic Sans MS">Picture.h</span> 錛?/p> <p><span style="FONT-FAMILY: Courier New">#include<iostream></span><br><span style="FONT-FAMILY: Courier New">using namespace std;</span><br><span style="FONT-FAMILY: Courier New">class P_Node{</span><br><span style="FONT-FAMILY: Courier New"> friend class Picture;</span></p> <p><span style="FONT-FAMILY: Courier New">protected:</span><br><span style="FONT-FAMILY: Courier New"> P_Node();</span><br><span style="FONT-FAMILY: Courier New"> virtual ~P_Node();</span><br><span style="FONT-FAMILY: Courier New"> virtual int height() const=0;</span><br><span style="FONT-FAMILY: Courier New"> virtual int width() const=0;</span><br><span style="FONT-FAMILY: Courier New"> virtual void display</span><br><span style="FONT-FAMILY: Courier New">  (ostream&,int,int)const=0;</span><br><span style="FONT-FAMILY: Courier New"> //int max(int,int);</span><br><span style="FONT-FAMILY: Courier New">private:</span><br><span style="FONT-FAMILY: Courier New"> int use;</span><br><span style="FONT-FAMILY: Courier New">};</span></p> <p><span style="FONT-FAMILY: Courier New">class Picture{</span><br><span style="FONT-FAMILY: Courier New"> friend ostream& operator<<(ostream&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> friend Picture frame(const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> friend Picture operator&(const Picture&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> friend Picture operator|(const Picture&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> friend class String_Pic;</span><br><span style="FONT-FAMILY: Courier New"> friend class Frame_Pic;</span><br><span style="FONT-FAMILY: Courier New"> friend class Hcat_Pic;</span><br><span style="FONT-FAMILY: Courier New"> friend class VCat_Pic;</span></p> <p><span style="FONT-FAMILY: Courier New">public:</span><br><span style="FONT-FAMILY: Courier New"> Picture();</span><br><span style="FONT-FAMILY: Courier New"> Picture(const char* const*,int);</span><br><span style="FONT-FAMILY: Courier New"> Picture(const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> ~Picture();</span><br><span style="FONT-FAMILY: Courier New"> </span><br><span style="FONT-FAMILY: Courier New"> Picture& operator=(const Picture&);</span><br><span style="FONT-FAMILY: Courier New">private:</span><br><span style="FONT-FAMILY: Courier New"> Picture(P_Node*);</span><br><span style="FONT-FAMILY: Courier New"> int height() const;</span><br><span style="FONT-FAMILY: Courier New"> int width() const;</span><br><span style="FONT-FAMILY: Courier New"> void display(ostream&,int,int) const;</span><br><span style="FONT-FAMILY: Courier New"> P_Node* p;</span><br><span style="FONT-FAMILY: Courier New">};</span></p> <p><br><span style="FONT-FAMILY: Courier New">class String_Pic:public P_Node{</span><br><span style="FONT-FAMILY: Courier New"> friend class Picture;</span><br><span style="FONT-FAMILY: Courier New"> String_Pic(const char* const*,int);</span><br><span style="FONT-FAMILY: Courier New"> ~String_Pic();</span><br><span style="FONT-FAMILY: Courier New"> int height() const;</span><br><span style="FONT-FAMILY: Courier New"> int width() const;</span><br><span style="FONT-FAMILY: Courier New"> void display(ostream&,int,int) const;</span><br><span style="FONT-FAMILY: Courier New"> char** data;</span><br><span style="FONT-FAMILY: Courier New"> int size;</span><br><span style="FONT-FAMILY: Courier New">};</span></p> <p><span style="FONT-FAMILY: Courier New">class Frame_Pic:public P_Node{</span><br><span style="FONT-FAMILY: Courier New"> friend Picture frame(const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> Frame_Pic(const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> int height() const;</span><br><span style="FONT-FAMILY: Courier New"> int width() const;</span><br><span style="FONT-FAMILY: Courier New"> void display(ostream&,int,int) const;</span><br><span style="FONT-FAMILY: Courier New"> Picture p;</span><br><span style="FONT-FAMILY: Courier New">};</span></p> <p><span style="FONT-FAMILY: Courier New">class VCat_Pic:public P_Node{</span><br><span style="FONT-FAMILY: Courier New"> friend Picture operator&</span><br><span style="FONT-FAMILY: Courier New">  (const Picture&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> VCat_Pic(const Picture&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> int height() const;</span><br><span style="FONT-FAMILY: Courier New"> int width() const;</span><br><span style="FONT-FAMILY: Courier New"> void display(ostream&,int,int) const;</span><br><span style="FONT-FAMILY: Courier New"> Picture top,bottom;</span><br><span style="FONT-FAMILY: Courier New">};</span></p> <p><span style="FONT-FAMILY: Courier New">class Hcat_Pic:public P_Node{</span><br><span style="FONT-FAMILY: Courier New"> friend Picture operator|</span><br><span style="FONT-FAMILY: Courier New">  (const Picture&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> Hcat_Pic(const Picture&,const Picture&);</span><br><span style="FONT-FAMILY: Courier New"> int height() const;</span><br><span style="FONT-FAMILY: Courier New"> int width() const;</span><br><span style="FONT-FAMILY: Courier New"> void display(ostream&,int,int) const;</span><br><span style="FONT-FAMILY: Courier New"> Picture left,right;</span><br><span style="FONT-FAMILY: Courier New">};</span><br></p> <p>涓嬮潰鏄?<span style="FONT-FAMILY: Comic Sans MS">Picture.cpp</span> 錛?/p> <p><span style="FONT-FAMILY: Courier New">#include"Picture.h"</span><br><span style="FONT-FAMILY: Courier New">#include<iostream></span><br><span style="FONT-FAMILY: Courier New">#include<cstring></span><br><span style="FONT-FAMILY: Courier New">using namespace std;</span></p> <p><span style="FONT-FAMILY: Courier New">P_Node::~P_Node(){}</span><br><span style="FONT-FAMILY: Courier New">P_Node::P_Node():use(1){}</span></p> <p><span style="FONT-FAMILY: Courier New">static void pad(ostream& os,int x,int y)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> for(int i=x;i<y;i++)</span><br><span style="FONT-FAMILY: Courier New">  os<<" ";</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">int max(int x,int y)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return x>y?x:y;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">Picture::Picture(const char* const* str,int n):</span><br><span style="FONT-FAMILY: Courier New"> p(new String_Pic(str,n)){}</span></p> <p><span style="FONT-FAMILY: Courier New">Picture::Picture(const Picture& orig):p(orig.p)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> orig.p->use++;</span><br><span style="FONT-FAMILY: Courier New">};</span></p> <p><span style="FONT-FAMILY: Courier New">Picture::Picture(P_Node* p_node):p(p_node){}</span></p> <p><span style="FONT-FAMILY: Courier New">Picture::~Picture()</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> if(--p->use==0)</span><br><span style="FONT-FAMILY: Courier New">  delete p;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">Picture& Picture::operator=(const Picture& orig)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> orig.p->use++;</span><br><span style="FONT-FAMILY: Courier New"> if(--p->use==0)</span><br><span style="FONT-FAMILY: Courier New">  delete p;</span><br><span style="FONT-FAMILY: Courier New"> p=orig.p;</span><br><span style="FONT-FAMILY: Courier New"> return *this;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">int Picture::height() const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return p->height();</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">int Picture::width() const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return p->width();</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">void Picture::display(ostream& o,int x,int y)const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> p->display(o,x,y);</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">ostream& operator<<(ostream& os,const Picture& picture)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> int ht=picture.height();</span><br><span style="FONT-FAMILY: Courier New"> for(int i=0;i<ht;i++){</span><br><span style="FONT-FAMILY: Courier New">  picture.display(os,i,0);</span><br><span style="FONT-FAMILY: Courier New">  os<<endl;</span><br><span style="FONT-FAMILY: Courier New"> }</span><br><span style="FONT-FAMILY: Courier New"> return os;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">String_Pic::String_Pic(const char* const* p,int n):</span><br><span style="FONT-FAMILY: Courier New"> data(new char* [n]),size(n)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> for(int i=0;i<n;i++){</span><br><span style="FONT-FAMILY: Courier New">  data[i]=new char[strlen(p[i])+1];</span><br><span style="FONT-FAMILY: Courier New">  strcpy(data[i],p[i]);</span><br><span style="FONT-FAMILY: Courier New"> }</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">int String_Pic::height() const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return size;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">int String_Pic::width() const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> int n=0;</span><br><span style="FONT-FAMILY: Courier New"> for(int i=0;i<size;i++){</span><br><span style="FONT-FAMILY: Courier New">  n=max(n,strlen(data[i]));</span><br><span style="FONT-FAMILY: Courier New"> }</span><br><span style="FONT-FAMILY: Courier New"> return n;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">void String_Pic::display(ostream& os,int row,int width)const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> int start=0;</span><br><span style="FONT-FAMILY: Courier New"> if(row>=0&&row<height()){</span><br><span style="FONT-FAMILY: Courier New">  os<<data[row];</span><br><span style="FONT-FAMILY: Courier New">  start=strlen(data[row]);</span><br><span style="FONT-FAMILY: Courier New"> }</span><br><span style="FONT-FAMILY: Courier New"> pad(os,start,width);</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">String_Pic::~String_Pic()</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> for(int i=0;i<size;i++)</span><br><span style="FONT-FAMILY: Courier New">  delete[] data[i];</span><br><span style="FONT-FAMILY: Courier New"> delete[] data;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">Frame_Pic::Frame_Pic(const Picture& pic):p(pic){}</span><br><span style="FONT-FAMILY: Courier New">int Frame_Pic::height()const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return p.height()+2;</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">int Frame_Pic::width()const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return p.width()+2;</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">void Frame_Pic::display(ostream& os,int row,int wd)const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> if(row<0||row>=height()){</span><br><span style="FONT-FAMILY: Courier New">  pad(os,0,wd);</span><br><span style="FONT-FAMILY: Courier New"> }else{</span><br><span style="FONT-FAMILY: Courier New">  if(row==0||row==height()-1){</span><br><span style="FONT-FAMILY: Courier New">   os<<"+";</span><br><span style="FONT-FAMILY: Courier New">   int i=p.width();</span><br><span style="FONT-FAMILY: Courier New">   while(--i>=0)</span><br><span style="FONT-FAMILY: Courier New">    os<<"-";</span><br><span style="FONT-FAMILY: Courier New">   os<<"+";</span><br><span style="FONT-FAMILY: Courier New">  }else{</span><br><span style="FONT-FAMILY: Courier New">   os<<"|";</span><br><span style="FONT-FAMILY: Courier New">   p.display(os,row-1,p.width());</span><br><span style="FONT-FAMILY: Courier New">   os<<"|";</span><br><span style="FONT-FAMILY: Courier New">  }</span><br><span style="FONT-FAMILY: Courier New">  pad(os,width(),wd);</span><br><span style="FONT-FAMILY: Courier New"> }</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">Picture frame(const Picture& pic)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return new Frame_Pic(pic);</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">VCat_Pic::VCat_Pic(const Picture& t,const Picture& b):</span><br><span style="FONT-FAMILY: Courier New"> top(t),bottom(b){}</span></p> <p><span style="FONT-FAMILY: Courier New">int VCat_Pic::height()const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return top.height()+bottom.height();</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">int VCat_Pic::width()const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return max(top.width(),bottom.width());</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">void VCat_Pic::display(ostream& os,int row,int wd)const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> if(row>=0 && row< top.height())</span><br><span style="FONT-FAMILY: Courier New">  top.display(os,row,wd);</span><br><span style="FONT-FAMILY: Courier New"> else if(row <top.height()+bottom.height())</span><br><span style="FONT-FAMILY: Courier New">  bottom.display(os,row-top.height(),wd);</span><br><span style="FONT-FAMILY: Courier New"> else</span><br><span style="FONT-FAMILY: Courier New">  pad(os,0,wd);</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">Picture operator&(const Picture& t,const Picture& b)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return new VCat_Pic(t,b);</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">Hcat_Pic::Hcat_Pic(const Picture& l,const Picture& r):</span><br><span style="FONT-FAMILY: Courier New"> left(l),right(r){}</span></p> <p><span style="FONT-FAMILY: Courier New">int Hcat_Pic::height()const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return max(left.height(),right.height());</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">int Hcat_Pic::width()const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return left.width()+right.width();</span><br><span style="FONT-FAMILY: Courier New">}</span><br><span style="FONT-FAMILY: Courier New">void Hcat_Pic::display(ostream& os,int row,int wd)const</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> left.display(os,row,left.width());</span><br><span style="FONT-FAMILY: Courier New"> right.display(os,row,right.width());</span><br><span style="FONT-FAMILY: Courier New"> pad(os,width(),wd);</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p><span style="FONT-FAMILY: Courier New">Picture operator|(const Picture& l,const Picture& r)</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> return new Hcat_Pic(l,r);</span><br><span style="FONT-FAMILY: Courier New">}</span></p> <p> </p> <p>涓嬮潰鏄?nbsp;<span style="FONT-FAMILY: Comic Sans MS">test.cpp</span> 錛?/p> <p><span style="FONT-FAMILY: Courier New">#include<iostream></span><br><span style="FONT-FAMILY: Courier New">#include<cstring></span><br><span style="FONT-FAMILY: Courier New">#include"Picture.h"</span></p> <p><span style="FONT-FAMILY: Courier New">using namespace std;</span></p> <p><span style="FONT-FAMILY: Courier New">char *init[]={"Paris","in the","Spring"};</span><br><span style="FONT-FAMILY: Courier New">int main()</span><br><span style="FONT-FAMILY: Courier New">{</span><br><span style="FONT-FAMILY: Courier New"> Picture p(init,3);</span><br><span style="FONT-FAMILY: Courier New"> cout<<p<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> Picture q=frame(p);</span><br><span style="FONT-FAMILY: Courier New"> cout<<q<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> cout<<(q&(p|q))<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> cout<<frame(p|p)<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> cout<<frame(q|q)<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> cout<<(p&p)<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> cout<<(q&q)<<endl;</span></p> <p><span style="FONT-FAMILY: Courier New"> cout<<frame(p&p)<<endl;</span><br><span style="FONT-FAMILY: Courier New"> cout<<frame(frame(q&q)|frame(p&p))<<endl;</span><br><span style="FONT-FAMILY: Courier New"> return 0;</span><br><span style="FONT-FAMILY: Courier New">}</span><br></p> <a >闃呰鍏ㄦ枃</a> <br><strong>綾誨埆錛?/strong><a >c++</a> <a >鏌ョ湅璇勮</a><br>鏂囩珷鏉ユ簮:<a >http://hi.baidu.com/mirguest/blog/item/d91abdcd42caeb2ef8dc612e.html</a> <img src ="http://m.shnenglu.com/mirguest/aggbug/139679.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/mirguest/" target="_blank">mirguest</a> 2011-02-02 12:01 <a href="http://m.shnenglu.com/mirguest/articles/139679.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.sdquanguan.cn" target="_blank">久久久久久国产精品美女</a>| <a href="http://www.52zx45.cn" target="_blank">久久精品国产色蜜蜜麻豆</a>| <a href="http://www.yeziseo.cn" target="_blank">yellow中文字幕久久网 </a>| <a href="http://www.sonsan.cn" target="_blank">久久久久久久精品成人热色戒</a>| <a href="http://www.wasang.cn" target="_blank">国产精品久久新婚兰兰</a>| <a href="http://www.hp6000.cn" target="_blank">久久精品人人做人人爽电影蜜月</a>| <a href="http://www.gx263.cn" target="_blank">国产一区二区三区久久精品</a>| <a href="http://www.a0037.cn" target="_blank">久久精品国产99久久丝袜 </a>| <a href="http://www.ominimo.cn" target="_blank">久久精品国产亚洲网站</a>| <a href="http://www.zzyes.cn" target="_blank">热久久国产欧美一区二区精品</a>| <a href="http://www.buniaowan.cn" target="_blank">久久www免费人成看片</a>| <a href="http://www.jddy.net.cn" target="_blank">97超级碰碰碰碰久久久久</a>| <a href="http://www.bolidianqi.cn" target="_blank">久久久久精品国产亚洲AV无码</a>| <a href="http://www.chiti.com.cn" target="_blank">久久精品国产亚洲欧美</a>| <a href="http://www.22980000.cn" target="_blank">7777精品久久久大香线蕉</a>| <a href="http://www.cuinfo.cn" target="_blank">精品无码久久久久久久久久</a>| <a href="http://www.ahgmxy.com.cn" target="_blank">久久综合香蕉国产蜜臀AV</a>| <a href="http://www.njcwhs.cn" target="_blank">色偷偷91久久综合噜噜噜噜</a>| <a href="http://www.hongyuan123.cn" target="_blank">久久久久久综合一区中文字幕</a>| <a href="http://www.egpk.cn" target="_blank">久久人与动人物a级毛片</a>| <a href="http://www.lxyizhixiu.cn" target="_blank">segui久久国产精品</a>| <a href="http://www.smscx.cn" target="_blank">久久国产精品无码HDAV</a>| <a href="http://www.k1822.cn" target="_blank">亚洲精品无码久久久久sm</a>| <a href="http://www.vz82.cn" target="_blank">人妻丰满?V无码久久不卡</a>| <a href="http://www.b42k.cn" target="_blank">国产—久久香蕉国产线看观看</a>| <a href="http://www.k2938.cn" target="_blank">国产精品岛国久久久久</a>| <a href="http://www.dgcry.cn" target="_blank">亚洲精品乱码久久久久久久久久久久</a>| <a href="http://www.ciao-surveys.cn" target="_blank">国产精品成人无码久久久久久</a>| <a href="http://www.szmpp.cn" target="_blank">国产精品久久一区二区三区</a>| <a href="http://www.cxdsj.net.cn" target="_blank">久久亚洲精品成人AV</a>| <a href="http://www.xczg.org.cn" target="_blank">久久九九兔免费精品6</a>| <a href="http://www.4wfgg.cn" target="_blank">伊人久久无码精品中文字幕</a>| <a href="http://www.zhantu520.cn" target="_blank">久久伊人影视</a>| <a href="http://www.tjjobs.com.cn" target="_blank">久久亚洲精品无码观看不卡</a>| <a href="http://www.yinliduo.cn" target="_blank">久久99国产精品成人欧美</a>| <a href="http://www.hbxasn.cn" target="_blank">国产福利电影一区二区三区,免费久久久久久久精 </a>| <a href="http://www.qpvm.cn" target="_blank">亚洲精品无码久久千人斩</a>| <a href="http://www.pydjango.cn" target="_blank">午夜精品久久久久</a>| <a href="http://www.101922.cn" target="_blank">久久久久久国产精品无码下载</a>| <a href="http://www.wxjdsteel.cn" target="_blank">国产精品久久久久久久app </a>| <a href="http://www.wz65.cn" target="_blank">日韩中文久久</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>