Anyone here ever uses the c99 format specifiers?
They seem so....bloatedCode:#define PRIdFAST8 "d"
#define PRIdFAST16 "d"
#define PRIdFAST32 "d"
#define PRIdFAST64 "lld"
Printable View
Anyone here ever uses the c99 format specifiers?
They seem so....bloatedCode:#define PRIdFAST8 "d"
#define PRIdFAST16 "d"
#define PRIdFAST32 "d"
#define PRIdFAST64 "lld"
Where did you get all those PRIdFAST macros from?
I don't recognise them as being C99.
It appears to be in <inttypes.h>
--
Mats
yes inttypes.h, theres lots more and also for scanf
Code:#define SCNd8 "hhd"
#define SCNd16 "hd"
#define SCNd32 "d"
>Anyone here ever uses the c99 format specifiers?
Yes, I do.
>They seem so....bloated
Yes, they are. Such is the price you pay in C99 for a solid guarantee about the type.