欧美色欧美亚洲高清在线观看,国产特黄特色a级在线视频,国产一区视频一区欧美,亚洲成a 人在线观看中文

  1. <ul id="fwlom"></ul>

    <object id="fwlom"></object>

    <span id="fwlom"></span><dfn id="fwlom"></dfn>

      <object id="fwlom"></object>

      C語言密碼輸入程序(寫寫幫推薦)

      時間:2019-05-12 16:26:37下載本文作者:會員上傳
      簡介:寫寫幫文庫小編為你整理了多篇相關(guān)的《C語言密碼輸入程序(寫寫幫推薦)》,但愿對你工作學(xué)習(xí)有幫助,當(dāng)然你在寫寫幫文庫還可以找到更多《C語言密碼輸入程序(寫寫幫推薦)》。

      第一篇:C語言密碼輸入程序(寫寫幫推薦)

      #include #include #include #include #define N 10 int main(){ char a[N],c;int i=0;sprintf(&a,“**********”);//memset(a,0,sizeof(a));// sprintf(&a,“%s”,“0000000000”);printf(“請輸入密碼:”);while(1){

      c=getch();

      if(c!='r'&&c!='b')

      {

      printf(“*”);

      a[i++]=c;

      }

      else if(c=='b'&&i!=0)//(c & 0xff)== 8 ////輸入字符c為Back Space 第一個'b'退格,但是'e'還在,緊接著空格把'e'覆蓋,再一個'b'才能達(dá)到效果

      {

      printf(“b b”);//printf(“%c %c”,c,c);

      i--;

      if(i==0)

      {

      printf(“密碼為空,不能再退格!”);

      //getchar();//這個函數(shù)只有輸入了回車才有用!它等待用戶輸入的是回車

      getch();

      system(“cls”);//清屏!

      printf(“請輸入密碼:”);

      }

      }

      else if(c=='r')

      {

      a[i]='