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

正文內(nèi)容

[航空航天]c語(yǔ)言的應(yīng)用范圍_發(fā)展前途-資料下載頁(yè)

2025-08-17 03:51本頁(yè)面
  

【正文】 an39。t open output file.\n)。exit(1)。}/*循環(huán)為檢測(cè)每次接受的數(shù)據(jù)是否為新數(shù)據(jù),如果不是,*//*則用此次接收的數(shù)據(jù)覆蓋上次接收的數(shù)據(jù)*/G1=ReadPort(PORT)。G2=Receive(PORT,amp。G1)。do{ G3=Receive(PORT,amp。G2)。ch=(char)(G1%16+G2*16)。/*恢復(fù)分開的數(shù)據(jù),組合高4位和低4位*/putc(ch,fp)。if(ferror(fp)){printf(\nError writing file.)。exit(1)。}G2=Receive(PORT,amp。G3)。G1=G3。}while(G1/16!=48)。printf(\nTransmit finished.)。fclose(fp)。}int Receive(port,G)int port,*G。{int GM。SendPort(port,*G)。GM=ReadPort(port)。if(GM/16==0)return GM。else if(GM/16==1){do{*G=GM。SendPort(port,GM)。GM=ReadPort(port)。}while(GM/16==1)。}return GM。}void GetFileName(char *f){int G1,G2,G3。char ch。G1=ReadPort(PORT)。G2=ReadPort(PORT)。do{G3=Receive(PORT,amp。G3)。ch=(char)(G1%16+G2/16)。*f=ch。*f++。G2=Receive(PORT,amp。G3)。G1=G3。}while(G1/16!=32)。printf(File name transmit finished.\n)。}void InitPort(port,para)int port。unsigned char para。{union REGS reg。=port。=0。=para。int86(0x14,?,?)。}void SendPort(port,c)int port。char c。{union REGS reg。=port。=c。=1。int86(0x14,?,?)。if(amp。128){printf(\nSend mistakes!)。exit(1)。}}int ReadPort(port)int port。{union REGS reg。while(!(CheckState(port)amp。256)){if(kbhit()){/*如端口長(zhǎng)期無(wú)數(shù)據(jù)可人為終止等待*/printf(Press any key to exit.)。getch()。exit(1)。}}=port。=2。int86(0x14,?,?)。if(amp。128){printf(\nRead mistake!)。exit(1)。}return 。}int CheckState(port)int port。{union REGS reg。=port。=3。int86(0x14,?,?)。return 。}本文來(lái)自CSDN博客,轉(zhuǎn)載請(qǐng)標(biāo)明出
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1