討論串[問題] 回傳字串的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). DEV. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). string.h. 問題(Question):. compile 會一直出現assignment makes p
(還有498個字)
內容預覽:
我寫了一個程式是用來將整數轉為字串的. char *int_tran_1(int num). {. char ch[8];. int i;. ch[7]='\0';. for(i=6;num!=0;i--). {. ch[i]=num%10+48;. num/=10;. }. printf("%s\
(還有223個字)
首頁
上一頁
1
下一頁
尾頁