sprintf ()函数的程序用例:#include #includeint main(void){char buffer[80];sprintf(buffer, "An approximation of Pi is %f\n", M_PI);puts(buffer) ...
確定! 回上一頁