printf(“%*s”,name);
星号可以直接替换为int型常量,如printf(“%6s”,name);
也可以用这种方法 printf(“%*s”,10,name);
Copyright @ 2024 南邮21栋 Powered by .NET 9.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster