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

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -