为什么这段代码不工作?如何在gcc中打印UINT64_t?
#include <stdio.h>
main()
{
UINT64_t ram = 90;
printf("%d""\n", ram);
}
我得到了以下错误:
In function \u2018main\u2019
error: \u2018UINT64_t\u2019 undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
error: expected \u2018;\u2019 before \u2018ram\u2019
'#包括'和'uint64_t' –
Gopi
我再次得到了同样的错误。 – Ramakant
你是否改变'uint64_t'? – Gopi