Hai

int count=10;
CvPoint *point //动态数组必须以指针的形式定义
point=new Cvpoint[count]();//创建了长度为count的动态数组

...


delete[] point;//动态数组使用完成后一定要释放储存空间

  

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-06-28
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2021-05-17
  • 2022-12-23
相关资源
相似解决方案