printf, g_message这些函数中,使用 %lld 就可以打印一个unsigned long long了,glib中的guint64就是unsigned long long。这是GNU编译器支持的。在微软的编译器中,使用%lld, %I64都可以。
C语言中如何printf一个unsigned long long的数据?
最新推荐文章于 2025-02-17 17:38:10 发布
printf, g_message这些函数中,使用 %lld 就可以打印一个unsigned long long了,glib中的guint64就是unsigned long long。这是GNU编译器支持的。在微软的编译器中,使用%lld, %I64都可以。