在我的C程序中,我正在使用字符串打印到命令终端,printf("%d %s %s\n", node->id, node->date, node->input);但我现在需要使用写入功能write(STDOUT_FILENO, cmdline, strlen(cmdline));...
我怎样才能像使用printf一样格式化字符串?
| 归档时间: |
|
| 查看次数: |
1357 次 |
| 最近记录: |