Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个游戏,我想将 Game Center 集成到其中。我看过了,结果你要提交的整数必须是int64_t. 我int使用的是标准的int。我如何将我的高分转换int为int64_t?
int64_t
int
您可以尝试将其int转换为int64_t:
int a = 12345; int64_t b = (int64_t)a;