Passing constructor into a function

前端 未结 0 721
南方客
南方客 2020-12-19 18:39

I am learning c++ and I am creating a Vector class (the mathematical one).

class Vector
{
public:
  int x, y;
public:
  void add(Vector other)
  {
    this-&g         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题