C++中 打印size_t 跟 ssize_t

C++中 打印size_t 和 ssize_t#Use the z modifier:size_t xssize_t yprintf(%zu\n, x)// prints as u

C++中 打印size_t 和 ssize_t