討論串[問題] printf %d ,0從哪裡來?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
你用 %d 去印 int64_t 了.... 64-bit 的整數要用 %I64d 或者 (如果支援 long long 的話) %lld. ---. 至於為什麼會冒 0 出來這就要扯到 C 語言的可變參數的實作了. (以及 va_* 系列 macro 是怎麼讀到你的資料的). 要說詳細的話大概要再
(還有591個字)
內容預覽:
#include <stdio.h>. int64_t fmrg_p = 2147483647;. int64_t fmrg_b = 1047849;. int64_t fmrg_index =101;. int fmrg_k = 102;. int64_t fmrg_seed[102];. int
(還有119個字)
首頁
上一頁
1
下一頁
尾頁