<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > getchar()使用時出現(xiàn)跳躍取字的問題

          getchar()使用時出現(xiàn)跳躍取字的問題

          作者: 時間:2016-11-28 來源:網(wǎng)絡(luò) 收藏
          想要達(dá)到的目的是通過getlines()【仿庫函數(shù)getline()】 對數(shù)組進(jìn)行整行輸入賦值,
          int getlines(char s[], int limit)
          {
          int i = 0 ;
          int c = 0;

          for ( i = 0; ((c = getchar()) != EOF) && ((c = getchar()) != ) && cs[i] = c;
          if (c = )
          {
          i++;
          s[i] = 看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (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); })();