printf你会吗?:-)
https://cplusplus.com/reference/cstdio/printf
A format specifier follows this prototype: %[flags][width][.precision][length]specifier
p Pointer address b8000000
n Nothing printed. The corresponding argument must be a pointer to a signed int. The number of characters written so far is stored in the pointed location.
# Used with o, x or X specifiers the value is preceeded with 0, 0x or 0X respectively for values different than zero.Used with a, A, e, E, f, F, g or G it forces the written output to contain a decimal point even if no more digits follow. By default, if no digits follow, no decimal point is written.
* The width is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted.
.number For g and G specifiers: This is the maximum number of significant digits to be printed.
.* The precision is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted.
ll long long int unsigned long long int
int vsnprintf (char * s, size_t n, const char * format, va_list arg ); Write formatted data from variable argument list to sized buffer
int vfscanf ( FILE * stream, const char * format, va_list arg ); Read formatted data from stream into variable argument list
v应该是variable的意思, f:file s:string n:n个 f:format
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
2021-12-19 百度网盘是如何检测是否安装了客户端的?
2021-12-19 A Child's History of England.59
2021-12-19 EDA学习笔记
2021-12-19 Stockfish和GNU Chess棋力都很强
2021-12-19 PyTorch与张量简介