由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - What is size_t mean in C?
相关主题
狠偷懒狠偷懒的一个测试C语言,结构体转字符串。简单的难题
C++中size_type怎么处理?is size_t recommended for 64-bit windows porting?
用数组做参数,在函数内部如何知道数组的size?zero-sized array vs pointer
std::size_t的麻烦新手问一个多维数组传递给函数的问题
请教一个C的问题问一个在C里面转换十六进制的问题
a question about bitwise operationa simple question for C++ class
64BIT 软件开发difference between: char** p and char*p[] ??
unsigned long long一道面试题
相关话题的讨论汇总
话题: what话题: size话题: mean话题: unsigned话题: sizeof
进入Programming版参与讨论
1 (共1页)
p*******n
发帖数: 273
1
I find in the reference that "size_t is the unsigned integer result of the
sizeof keyword." .
What is that mean? what is the difference between "unsigned int N" and "size
_t N"
Thank you!
t****t
发帖数: 6806
2
size_t is defined in (or for C++). i don't remember how
it is defined in C, but for portability, you'd better don't assume it is
equivalent to anything else, in other words, size_t is size_t.

size

【在 p*******n 的大作中提到】
: I find in the reference that "size_t is the unsigned integer result of the
: sizeof keyword." .
: What is that mean? what is the difference between "unsigned int N" and "size
: _t N"
: Thank you!

1 (共1页)
进入Programming版参与讨论
相关主题
一道面试题请教一个C的问题
有没有什么简单的方法从一个double precision的floating point 中读出一个特定的bit?a question about bitwise operation
关于C++中一个Class的大小 (转载)64BIT 软件开发
数组定义的时候,分配空间了么?unsigned long long
狠偷懒狠偷懒的一个测试C语言,结构体转字符串。简单的难题
C++中size_type怎么处理?is size_t recommended for 64-bit windows porting?
用数组做参数,在函数内部如何知道数组的size?zero-sized array vs pointer
std::size_t的麻烦新手问一个多维数组传递给函数的问题
相关话题的讨论汇总
话题: what话题: size话题: mean话题: unsigned话题: sizeof