构造一个类似printf的函数,输出到字符串答:include <iostream.h> void MyPrint(const char *s,const char *sIn){ / input : s: format sIn,nubers,list,strings,and soon which separated by ',',Examples:s = "%d is %s", sIn = "3,my favorite number;"output : 3 is my favorite number;but only one single formation ...