string formatting - iOS NSLog %hd %hhd %ld and %lld format specifiers -


what meaning of these format specifiers?

%hd %hhd %ld %lld 

%hd used short integer or unsigned short integer

%hhd short short integer or unsigned short short integer

%ld long integer or unsigned long integer

%lld long long integer or unsigned long long integer

simple that.

here h , hh , l , ll length modifiers in %d

source: http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/strings/articles/formatspecifiers.html


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -