printf格式中的%.*s表法的意义 .表示左对齐,*表示精度。 示例: printf("this ia %.*s\n", 5, "my"); // * value is 5 扩展的,还有:%.*d %.*c