C库函数 sprintf()
C库函数 sprintf() #include <stdio.h> #include <math.h> int main () { char str[80]; sprintf(str, "Value of Pi = %f", M_PI); puts(str); return(0); }
C库函数 sprintf()
#include <stdio.h> #include <math.h> int main () { char str[80]; sprintf(str, "Value of Pi = %f", M_PI); puts(str); return(0); }
交流与评论