新年祝福!_20140101

images

   1:  #if 1
   2:  #include <iostream>
   3:  #include <iomanip>
   4:  #include <string>
   5:   
   6:  using namespace std;
   7:  /*
   8:   *@brief:
   9:      新年祝福!
  10:   */
  11:  void NewYearsDay( void )
  12:  {
  13:      static int n = 1;
  14:      char yourName[365];
  15:      gets(yourName);
  16:      while ( n-- )
  17:      {
  18:          cout<<"Dear "<<yourName<<endl;
  19:          cout<<setiosflags(ios::internal)<<"\t祝13年春节同14元旦一样令人难以忘记!"<<endl;
  20:          cout.width( 66 );
  21:          cout.fill( ' ' );
  22:          cout<<"何双泉 致上"<<endl;
  23:      }
  24:  }
  25:  int main(int argc, char* argv[])
  26:  {
  27:      NewYearsDay();
  28:      return 0;
  29:  }
  30:  #endif
posted on 2014-01-01 13:08  何双泉_设计之美  阅读(182)  评论(0编辑  收藏  举报