これらのフォーマット指定子の意味は何ですか?
%hd %hhd %ld %lld
%hd は、short integerまたはunsigned short integer
%hhd はshort short integerまたはunsigned short short integer
%ld はlong integerまたはunsigned long integer
%lld はlong long integerまたはunsigned long long integer
そのような単純な。
ここhでhh、、、lはll%d の長さ修飾子です
ここで提供されている Apple のドキュメントを参照してください: http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/Strings/Articles/formatSpecifiers.html
IBM のこのドキュメントの方が少し優れていると思います。
%hd int x (short)x 10 1
%ld long x (long)x 10 1