Untitled

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; class Box { public: Box() { cout << "调用构造函数!" <<endl; } ~Box() { cout << "调用析构函数!" <<endl; } }; int main( ) { Box* myBoxArray = new Box[4]; delete [] myBoxArray; // Delete array return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines