何时在C+中使用新关键字?
MyClass* myClass = new MyClass();myClass->MyField = "Hello world!";
MyClass myClass;myClass.MyField = "Hello world!";
newnewdelete.
Foobar *foobar = new Foobar();delete foobar; // TODO: Move this to the right place.
qq_遁去的一_1
神不在的星期二
随时随地看视频慕课网APP
相关分类