cs:c_language:printf_format_inttypes.h
Return to Home page
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/c_language/printf_format_inttypes.h?do=diff&rev2%5B0%5D=&rev2%5B1%5D=1551188114&difftype=sidebyside
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | cs:c_language:printf_format_inttypes.h [2024/04/08 22:35] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Printf format < | ||
+ | **Concepts: | ||
+ | Use of the function '' | ||
+ | The ''< | ||
+ | For printing '' | ||
+ | |||
+ | |||
+ | **Example: | ||
+ | <file C inttypes.c> | ||
+ | /* Example of use of the function printf to format the output of variables with fixed dimension, as defined in the ''< | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | int main() { | ||
+ | int64_t a = -3; | ||
+ | uint64_t b = 3; | ||
+ | int8_t c = -3; | ||
+ | |||
+ | printf(" | ||
+ | | ||
+ | return 0; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **Comment: | ||
+ | As can be see in the example, the macros '' | ||
+ | Macro '' | ||
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/c_language/printf_format_inttypes.h?do=diff&rev2%5B0%5D=&rev2%5B1%5D=1551188114&difftype=sidebyside
/web/htdocs/www.skenz.it/home/data/pages/cs/c_language/printf_format_inttypes.h.txt · Last modified: 2024/04/08 22:35 by 127.0.0.1