cout<<"函式呼叫前的名字 : "<<sData<<endl; // 輸出修改後的名字. } void change(char sData[20]). {. cout<<"請輸入新的字串:");. cin>>sData;. } 傳遞函數的位址.
確定! 回上一頁