cout << temp;. return 0;. } 此时什么也不输出. 解决方法:在函数内新建一个static char数组,这样函数结束数组也不会被销毁. char* get_char_2(){.
確定! 回上一頁