如果要在配置完成後指定儲存值,則可以如此宣告. int *ptr = new int(100);. 4. #include <iostream> using namespace std; int main().
確定! 回上一頁