什么原始数据类型是time_t的? [英] What primitive data type is time_t?
本文介绍了什么原始数据类型是time_t的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道 time_t的
的数据类型。它是一个浮动双人或其他什么东西?因为如果我想要显示它我需要与之相对应的的printf
标签。我可以从那里处理剩下的用于显示 time_t的
但我需要知道,与之相对应的数据类型。
I do not know the data type of time_t
. Is it a float double or something else? Because if I want to display it I need the tag that corresponds with it for printf
. I can handle the rest from there for displaying time_t
but I need to know the data type that corresponds with it.
推荐答案
不幸的是,它不是完全可移植。它通常是不可或缺的,但它可以的任何整数或实浮动式
Unfortunately, it's not completely portable. It's usually integral, but it can be any "integer or real-floating type".
这篇关于什么原始数据类型是time_t的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文