freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

arm多行文本框設(shè)計(jì)-資料下載頁

2025-01-16 04:34本頁面
  

【正文】 /////// } else //相減得到負(fù)數(shù) { numtemp=num2num1。 //numtemp為正 num=0numtemp。 Uart_Printf(0,% %c % = \n,num1,c[0],num2)。 Uart_Printf(0,%,num)。 Uart_Printf(0,\n)。 a[0]=39。\039。 b[0]=39。\039。 c[0]=39。\039。 num1=num2=0。 /////////////////把 num設(shè)進(jìn)第二個(gè)文本框/////////////////// fint=numtemp*1000。 while(fint!=0) { str1[k]=fint%10。 fint=fint/10。 //Uart_Printf(0,%3d,str1[k])。 k++。 } /////////將 39。39。設(shè)進(jìn) str2的的 0位/////////////////////////// p=0。 str2[p]=39。39。 p=1。 while(k2) { str2[p]=str1[k]+39。039。 //Uart_Printf(0,%c,str2[p])。 p++。k。 } 23 str2[p]=39。.39。p++。 str2[p]=str1[2]+39。039。p++。 str2[p]=str1[1]+39。039。p++。 str2[p]=str1[0]+39。039。p++。 k=0。 p=0。 fint=0。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 DrawTextCtrl(pTextCtrl[1])。//重繪文本框 //////////////////////////////////////////////////////////////// } /************************************************************/ } else if(c[0]==39。*39。) { num=num1*num2。 Uart_Printf(0,% %c % = \n,num1,c[0],num2)。 Uart_Printf(0,%,num)。 Uart_Printf(0,\n)。 a[0]=39。\039。 b[0]=39。\039。 c[0]=39。\039。 num1=num2=0。 /////////////////把 num設(shè)進(jìn)第二個(gè)文本框 /////////////////// fint=num*1000。 while(fint!=0) { str1[k]=fint%10。 fint=fint/10。 //Uart_Printf(0,%3d,str1[k])。 k++。 } while(k2) { str2[p]=str1[k]+39。039。 //Uart_Printf(0,%c,str2[p])。 p++。k。 } str2[p]=39。.39。p++。 str2[p]=str1[2]+39。039。p++。 str2[p]=str1[1]+39。039。p++。 str2[p]=str1[0]+39。039。p++。 k=0。 p=0。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 24 DrawTextCtrl(pTextCtrl[1])。//重繪文本框 } /************************************************************/ else if(c[0]==39。/39。) { if(num2==0) Uart_Printf(0,data error...\n)。 else { num=num1/num2。 Uart_Printf(0,% %c % = \n,num1,c[0],num2)。 Uart_Printf(0,%,num)。 Uart_Printf(0,\n)。 a[0]=39。\039。 b[0]=39。\039。 c[0]=39。\039。 num1=num2=0。 /////////////////把 num設(shè)進(jìn)第二個(gè)文本框 /////////////////// fint=num*1000。 while(fint!=0) { str1[k]=fint%10。 fint=fint/10。 //Uart_Printf(0,%3d,str1[k])。 k++。 } if(k2) //得到的是假分?jǐn)?shù) { while(k2) { str2[p]=str1[k]+39。039。 //Uart_Printf(0,%c,str2[p])。 k。 p++。 } str2[p]=39。.39。p++。 str2[p]=str1[2]+39。039。p++。 str2[p]=str1[1]+39。039。p++。 str2[p]=str1[0]+39。039。p++。 k=0。 p=0。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 DrawTextCtrl(pTextCtrl[1])。//重繪文本框 } /////////把該數(shù)變成保留三位小數(shù)點(diǎn)的小數(shù)形式 /////////////// //str2下一位變成 39。.39。 else if(k==2) //得到的是 { 25 str2[p]=39。039。p++。 str2[p]=39。.39。p++。 str2[p]=str1[2]+39。039。p++。 str2[p]=str1[1]+39。039。p++。 str2[p]=str1[0]+39。039。p++。 k=0。 p=0。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 DrawTextCtrl(pTextCtrl[1])。//重繪文本框 //////////////////////////////////////////////////////// } else if(k==1) //得到的是兩位純小數(shù) { str2[0]=39。039。 str2[1]=39。.39。 str2[2]=39。039。 str2[3]=str1[1]+39。039。 str2[4]=str1[0]+39。039。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 DrawTextCtrl(pTextCtrl[1])。//重繪文本框 //////////////////////////////////////////////////////// } else if(k==0) { str2[0]=39。039。 str2[1]=39。.39。 str2[2]=39。039。 str2[3]=39。039。 str2[4]=str1[0]+39。039。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 DrawTextCtrl(pTextCtrl[1])。//重繪文本 } else { str2[0]=39。039。 str2[1]=39。.39。 str2[2]=39。039。 str2[3]=39。039。 str2[4]=39。039。 SetTextCtrlText(pTextCtrl[1], str2,TRUE)。//設(shè)置文本框內(nèi)容 DrawTextCtrl(pTextCtrl[1])。//重繪文本 } ///////////////////////////////////////////////////// p=0。k=0。 } } //pTextCtrl[0]text[0]=0。 //清空文本框 26 SetTextCtrlEdit(pTextCtrl[0], TRUE)。//使文本框處于編輯狀態(tài) DrawTextCtrl(pTextCtrl[0])。//重繪文本框 /************************************************************/ } else { if(c[0]==39。039。||(c[0]!=39。039。amp。amp。(pMsgWParam!=39。+39。||pMsgWParam!=39。39。||pMsgWParam!=39。*39。||pMsgWParam!=39。/39。))) { //如果還沒發(fā)送之前按下清空鍵 //// OSOnSysMessage(pMsg)。 //sysnumber=Unicode2Int(pTextCtrl[0]text)。//將文本框中的內(nèi)容由Unicode 變?yōu)檎? SetTextCtrlEdit(pTextCtrl[0], TRUE)。//使文本框退出編輯狀態(tài) DrawTextCtrl(pTextCtrl[0])。//重繪文本框 //SaveSysNumber()。 } } } }
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1