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