博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
C语言 %zu
阅读量:3934 次
发布时间:2019-05-23

本文共 95 字,大约阅读时间需要 1 分钟。

%d输出int型,%zu输出size_t型。size_t在库中定义为unsigned int。

一个是整型,一个是无符号整型。
补充:如果%zu不能使用,可以用%u取代。但%zu不能输出负数

转载地址:http://lyegn.baihongyu.com/

你可能感兴趣的文章
lesson 5 memory model
查看>>
lesson 6 threads synchronization
查看>>
lesson 7 strategies for efficient CUDA programming
查看>>
using cuda7.0 in matlab2015b with vs2013 compiler
查看>>
convert RGB image with hole into binary image with hole filled
查看>>
rotate object in matlab
查看>>
find border vertex
查看>>
matlab sliced variable
查看>>
create symbolic array
查看>>
TAUCS库的编译(vs2010)
查看>>
color vector using in plotting example points and lines between corresponding vertices
查看>>
laplacian,degree,adjacency and oriented incidence matrix, differential and laplacian coordinates
查看>>
mex 里面调用matlab函数
查看>>
CUDA里面GRID, BLOCK 边界检测
查看>>
matlab中cuda编程中分配grid和block dimension的时候的注意事项
查看>>
GPU CUDA and MEX Programming
查看>>
arrayfun用法
查看>>
矩阵积分
查看>>
laplacian matrix
查看>>
cotangent matrix or laplacian mesh operator
查看>>