锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久成人精品视频,久久热这里只有精品在线观看,无码任你躁久久久久久老妇Apphttp://www.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://www.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://www.shnenglu.com/mirguest/articles/139682.html</guid><wfw:comment>http://www.shnenglu.com/mirguest/comments/139682.html</wfw:comment><comments>http://www.shnenglu.com/mirguest/articles/139682.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/mirguest/comments/commentRss/139682.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/mirguest/services/trackbacks/139682.html</trackback:ping><description><![CDATA[<p>浠ヤ笅綆楁硶鐪嬭嚜銆婄紪紼嬬彔鐜戙嬶紝鐢變簬娌$湅榪囩畻娉曚功錛岃寰楄繖涓緢鏈夋剰鎬濄?/p> <p>鍏蜂綋鍙互鍙傝冪涓绔犮?/p> <p>鍦ㄥ鏁板瓧榪涜鎺掑簭鏃訛紝浣跨敤榪欐牱鐨勬柟娉曪細(xì)</p> <p>濡倇1,2,3,5,8}錛屽彲浠ョ敤浣嶏紙bit錛夋潵琛ㄧず錛?/p> <p>0 1 1 1 0 1 0 0 1</p> <p>鎵浠ワ紝濡傛灉鏁版嵁娌℃湁閲嶅錛屽茍涓斿緢澶ф椂錛屽氨鍙互浣跨敤榪欎釜鏂規(guī)硶銆?/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://www.shnenglu.com/mirguest/aggbug/139682.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/mirguest/" target="_blank">mirguest</a> 2011-02-02 12:01 <a href="http://www.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://www.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://www.shnenglu.com/mirguest/articles/139679.html</guid><wfw:comment>http://www.shnenglu.com/mirguest/comments/139679.html</wfw:comment><comments>http://www.shnenglu.com/mirguest/articles/139679.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/mirguest/comments/commentRss/139679.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/mirguest/services/trackbacks/139679.html</trackback:ping><description><![CDATA[<p>铏界劧榪樹笉鏄緢鎳傚晩錛屼絾鍗村緢鏈夋剰鎬濄?/p> <p>涓嬮潰鎶婅緵杈涜嫤鑻︽墦鐨勪唬鐮佽創(chuàng)鍑烘潵錛屽ぇ瀹朵竴璧峰涔?fàn)銆?/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://www.shnenglu.com/mirguest/aggbug/139679.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/mirguest/" target="_blank">mirguest</a> 2011-02-02 12:01 <a href="http://www.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://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.hjpz333.cn" target="_blank">久久中文娱乐网</a>| <a href="http://www.uwck.cn" target="_blank">国内精品九九久久精品</a>| <a href="http://www.ssui1.cn" target="_blank">94久久国产乱子伦精品免费 </a>| <a href="http://www.paypaal.cn" target="_blank">亚洲成人精品久久</a>| <a href="http://www.lpnppddrppp.cn" target="_blank">久久国产精品无码网站</a>| <a href="http://www.fly5.com.cn" target="_blank">亚洲国产成人久久笫一页</a>| <a href="http://www.qlswxflaw.cn" target="_blank">亚洲精品国产美女久久久</a>| <a href="http://www.gynp.net.cn" target="_blank">亚洲国产精久久久久久久</a>| <a href="http://www.pzjqfa.cn" target="_blank">久久午夜免费视频</a>| <a href="http://www.shidaqizhong.cn" target="_blank">91久久婷婷国产综合精品青草 </a>| <a href="http://www.cbanqi.cn" target="_blank">99久久成人18免费网站</a>| <a href="http://www.zhangyiping.cn" target="_blank">久久影院午夜理论片无码</a>| <a href="http://www.sbznw.cn" target="_blank">久久精品夜夜夜夜夜久久</a>| <a href="http://www.aa110.cn" target="_blank">久久免费香蕉视频</a>| <a href="http://www.aigoua.cn" target="_blank">久久久国产精品福利免费</a>| <a href="http://www.qiaokuo.cn" target="_blank">国产精品久久久久久久人人看</a>| <a href="http://www.fvxg.cn" target="_blank">国产精品久久久久影院色</a>| <a href="http://www.znhongsheng.com.cn" target="_blank">色综合久久久久综合99</a>| <a href="http://www.ikxc.cn" target="_blank">91精品日韩人妻无码久久不卡</a>| <a href="http://www.265z.cn" target="_blank">久久精品国产亚洲AV忘忧草18</a>| <a href="http://www.ksszzyy.cn" target="_blank">久久精品九九亚洲精品天堂</a>| <a href="http://www.e-meng.com.cn" target="_blank">国内高清久久久久久</a>| <a href="http://www.uxlw.cn" target="_blank">一本色道久久88综合日韩精品 </a>| <a href="http://www.xadfj.cn" target="_blank">一97日本道伊人久久综合影院</a>| <a href="http://www.xibeiguangdian.cn" target="_blank">精品久久久久久无码专区不卡</a>| <a href="http://www.gkno.cn" target="_blank">免费精品久久天干天干</a>| <a href="http://www.aann8.cn" target="_blank">久久成人18免费网站</a>| <a href="http://www.njw2008.cn" target="_blank">国内精品伊人久久久久</a>| <a href="http://www.92kv.cn" target="_blank">久久综合给久久狠狠97色</a>| <a href="http://www.zpktv.cn" target="_blank">国产免费久久精品99re丫y</a>| <a href="http://www.lureng.cn" target="_blank">久久久综合香蕉尹人综合网</a>| <a href="http://www.ikdianying.cn" target="_blank">999久久久免费国产精品播放</a>| <a href="http://www.52037872.cn" target="_blank">久久狠狠高潮亚洲精品</a>| <a href="http://www.grux.cn" target="_blank">久久99精品久久久久婷婷</a>| <a href="http://www.kuaiyanapp.com.cn" target="_blank">亚洲AV无码一区东京热久久</a>| <a href="http://www.0576yes.cn" target="_blank">久久久国产打桩机</a>| <a href="http://www.hebeijiushan.cn" target="_blank">免费精品久久天干天干</a>| <a href="http://www.fxmodels.com.cn" target="_blank">伊人伊成久久人综合网777</a>| <a href="http://www.tbssyc.cn" target="_blank">中文字幕无码久久人妻</a>| <a href="http://www.sanghuan.cn" target="_blank">久久伊人精品一区二区三区</a>| <a href="http://www.fmd3.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>