uint_64_t sprintf

vc 

%llu

gcc

c++ 需要 #define __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS
#include <inttypes.h>


sprintf(buf, "%s%" PRIu64 "%d%" PRIu64 "", "123",u64Num,123,u64Num);

 

posted @ 2020-09-24 17:24  嘿.嘿.嘿  阅读(659)  评论(0编辑  收藏  举报