討論串[問題] 純c開二元檔,輸出address、16進位、ASCII
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
你可以試一下這個土砲strtok, 不過delimiter只吃一個字元. #include <stdio.h>. char *strtoken(char *s, int delim, int escstart, int escend). {. static char *ss;. static cha
(還有579個字)
內容預覽:
address部分. 60行 index = offset/16;. 69行 printf("%05X0 ",index);. 所以輸入55出來是00000030是正常的。. 如果你希望輸入55出來是00000050的話,你要把輸入變成16進位. 58行 offset = atoi(str2); 這
(還有91個字)
首頁
上一頁
1
下一頁
尾頁