I have a variable of type size_t, and I want to print it using printf(). What format specifier do I use to print it portably?
size_t
printf()
In 32-bit ma
std::size_t s = 1024; std::cout << s; // or any other kind of stream like stringstream!