16,472
社区成员
发帖
与我相关
我的任务
分享
//伪代码:
int getLength(cstring formatText,arg1,arg2,arg3,...){
cstring innerText;
//怎么把参数formatText,arg1,arg2,arg3,...格式化后,覆给innerText;
return innerText.getlength();
}
//调用getLength
int len=getLength("%d%s%s",1,"22","333");len为6;