A.使用GPL的軟件可以向用戶收取費(fèi)用 B.修改GPL軟件之后必須公開(kāi)源代碼的改動(dòng)部分 C.修改GPL軟件后可以公開(kāi)發(fā)行,并不開(kāi)放源代碼 D.僅和GPL軟件庫(kù)鏈接的程序不受該軟件庫(kù)使用GPL的約束
代碼: 以下正確的說(shuō)法是:()
A.調(diào)用Foo1()會(huì)輸出“thisisinthebase” B.調(diào)用Foo1()會(huì)輸出“thisisinthederived” C.調(diào)用Foo2()會(huì)輸出“thisisinthebase” D.調(diào)用Foo2()會(huì)輸出“thisisinthederived”
A.std::auto_ptr的對(duì)象無(wú)法放入標(biāo)準(zhǔn)庫(kù)的容器 B.一旦進(jìn)行兩個(gè)std::auto_ptr對(duì)象之間的拷貝構(gòu)造,被拷貝的對(duì)象將失去對(duì)所管理內(nèi)存的“所有權(quán)” C.std::auto_ptr可以配合newoperator和deleteoperator工作 D.std::auto_ptr可以配合new[]operator和delete[]operator工作