c++中的delete []异常

昨天一个小学弟写c++程序是出现了一个问题后来通过咱们和一个大三的学长讨论解决了这个问题感受不错,拿出分享他报错这个错 代码以下:`#include using namespace std; class Point{ public: Point(); Point(int x,int y,char * str){ this->x=x; this->y=y; //this->str=new char[
相关文章
相关标签/搜索