C51 printf format string
来源:互联网 发布:天天网络兼职是真是假 编辑:程序博客网 时间:2024/05/18 03:05
Type Argument TypeInput Format
d int Signed decimal number.
u unsigned intUnsigned decimal number.
o unsigned intUnsigned octal number.
x unsigned intUnsigned hexadecimal number using “0123456789abcedf”.
X unsigned intUnsigned hexadecimal number using “0123456789ABCDEF”.
f float Floating-point number formatted as
<[>-<]>dddd.dddd.
e float Floating-point number formatted as
<[>-<]>d.dddde<[>-<]>dd.
E float Floating-point number formatted as
<[>-<]>d.ddddE<[>-<]>dd.
g float Floating-point number using either the e or f format, whichever is more compact for the specified value and precision.
G float Floating-point number using either the E or f format, whichever is more compact for the specified value and precision.
c char A single character.
s * A string of characters terminated by a null character (‘\0′).
p * A generic pointer formatted as a linear address.
更多:C166_printf
Posted by ian at 17:12 Tagged with: C51
d int Signed decimal number.
u unsigned intUnsigned decimal number.
o unsigned intUnsigned octal number.
x unsigned intUnsigned hexadecimal number using “0123456789abcedf”.
X unsigned intUnsigned hexadecimal number using “0123456789ABCDEF”.
f float Floating-point number formatted as
<[>-<]>dddd.dddd.
e float Floating-point number formatted as
<[>-<]>d.dddde<[>-<]>dd.
E float Floating-point number formatted as
<[>-<]>d.ddddE<[>-<]>dd.
g float Floating-point number using either the e or f format, whichever is more compact for the specified value and precision.
G float Floating-point number using either the E or f format, whichever is more compact for the specified value and precision.
c char A single character.
s * A string of characters terminated by a null character (‘\0′).
p * A generic pointer formatted as a linear address.
更多:C166_printf
Posted by ian at 17:12 Tagged with: C51
- C51 printf format string
- System.out.printf;;String.format
- System.out.printf(String format, String ...args)
- printf in KEIL C51
- printf in KEIL C51
- Keil C51 的printf
- c++ 字符串格式 String Format 库 (替代printf)
- C51中printf使用事项
- Keil C51 的printf sprintf
- keil c51 printf 重定向
- Keil C51 实现 printf 函数
- printf output format
- Java字符串格式化—String.format()的使用以及Printf的使用
- Eclipse里String.format和System.out.printf()一直报错的解决方法
- String.Format
- string.format()
- string format
- string.Format
- Ubuntu下使用QQ
- 简单实现注册成功,弹出对话框
- EditText使用小结
- Combobox出现System.Data.DataRowView的原因,以及指定ValueMember的时机问题
- 控制台的扫雷程序(C语言)
- C51 printf format string
- Android 代码实现来电拦截
- 路上看水
- nginx + tomcat 集群实现负载均衡
- Android开发之旅:环境搭建
- 2012年PMI年会笔记
- GoDaddy优惠码
- pl/sql语法
- 在 Ubuntu 12.04 上安装和配置邮件服务