• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 132  文章 - 51  trackbacks - 0
            <2012年7月>
            24252627282930
            1234567
            891011121314
            15161718192021
            22232425262728
            2930311234

            常用鏈接

            留言簿(7)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            cocos2d-x

            OGRE

            OPenGL

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            bool StringEqual( const char* p,
                    const char* tag,
                    bool ignoreCase
                    /*TiXmlEncoding encoding */)
            {
             assert( p );
             assert( tag );
             if ( !p || !*p )
             {
              assert( 0 );
              return false;
             }

             const char* q = p;

             if ( ignoreCase )
             {
              while ( *q && *tag && tolower( *q ) == tolower( *tag ) )
              {
               ++q;
               ++tag;
              }

              if ( *tag == 0 )
               return true;
             }
             else
             {
              while ( *q && *tag && *q == *tag )
              {
               ++q;
               ++tag;
              }

              if ( *tag == 0 )  // Have we found the end of the tag, and everything equal?
               return true;
             }
             return false;
            }

            2.讀取文件

                string line; 
                ifstream input(
            "input.txt",ios::in); 

                
            while(1
                

                    getline(input,line); 
                    
            if(input.eof()) break

                }
             
                input.close(); 

             

            posted on 2011-12-14 08:11 風輕云淡 閱讀(380) 評論(0)  編輯 收藏 引用 所屬分類: C++
            久久不见久久见免费视频7| 欧美精品福利视频一区二区三区久久久精品| 国产精品伊人久久伊人电影 | 久久久精品午夜免费不卡| 久久免费精品视频| 久久精品国产亚洲av瑜伽| 久久久婷婷五月亚洲97号色| 97久久国产亚洲精品超碰热| 一级女性全黄久久生活片免费 | 蜜臀久久99精品久久久久久小说| 久久午夜电影网| 一级做a爰片久久毛片毛片| 久久久久久午夜成人影院| 精品国产婷婷久久久| 久久91精品久久91综合| 久久精品国产亚洲AV麻豆网站 | 香蕉久久夜色精品国产尤物| 久久精品国产亚洲一区二区| 尹人香蕉久久99天天拍| 99热精品久久只有精品| 精品免费久久久久久久| 久久99久久99精品免视看动漫| 久久天天躁狠狠躁夜夜av浪潮| 精品久久久久久亚洲精品 | 久久久久九国产精品| 久久青青草原国产精品免费| 久久久精品人妻一区二区三区蜜桃| 久久国产精品一区| 丰满少妇人妻久久久久久4| 国产精品一久久香蕉产线看| 亚洲AV无码一区东京热久久| 久久精品免费一区二区| 久久精品国产免费观看| 日韩中文久久| 2020久久精品亚洲热综合一本| 77777亚洲午夜久久多喷| 久久综合综合久久综合| 久久久久人妻一区二区三区| 久久天天躁狠狠躁夜夜躁2014| 欧美久久天天综合香蕉伊| 亚洲Av无码国产情品久久|