用法它是将中间的参数写入进入第一个指针当中 char * Filepath=xsn.jpg; char * cmd; sprintf(cmd,"base64 %s > tmpfile",Filepath);