问题标签 [gnu99]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
11 问题
0
投票
2
回答
318
浏览
c - C printf 说明符 %lld 打印字符“ld”
我正在使用 gcc (-std=gnu99) 为嵌入式工具链 (Myriota) 进行开发,但我遇到了 printf 问题。
当我尝试以下代码时:
它打印:
使用"%" PRId64
打印相同的“ld”。
有任何想法吗?如果您能指出我正确的地方,我将不胜感激。
更正了编辑
变量类型long long int time