浮點(FLOAT)轉換為CHAR. float wTemp=3.3; char sBuf[4]; char* temp; memset(sBuf,0,sizeof(sBuf)); temp=(char*)(&wTemp); sBuf[0] = temp[0] ;
確定! 回上一頁