解決辦法=> 透過sprintf( ) 把數字填到字串中. <用法>:. int sprintf ( char * str, const char * format, ... ); ... printf("str = %s\n", str);
確定! 回上一頁